aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation errors on FC4  (Read 3021 times)

andreground

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Compilation errors on FC4
« on: September 20, 2005, 04:52:28 PM »

Hi all!

I've red a lot of posts talking about problems on compiling amule on FC4.

I've followed all your tips & hints and compiled wxGTK exactly as described in:

http://www.amule.org/wiki/index.php/Compilation_Installation

The compilation was fine.

Then, when I try to compile amule with:

./configure --disable-debug --enable-optimize && make

I get ALWAYS this error:

if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_WX_TRAY -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D__GTK2__  -DHAVE_BFD -DUSE_EMBEDDED_CRYPTO  -O2  -MT amule-amule.o -MD -MP -MF ".deps/amule-amule.Tpo" -c -o amule-amule.o `test -f 'amule.cpp' || echo './'`amule.cpp; \
then mv -f ".deps/amule-amule.Tpo" ".deps/amule-amule.Po"; else rm -f ".deps/amule-amule.Tpo"; exit 1; fi
In file included from amule.cpp:99:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
StatisticsDlg.h:69: error: ISO C++ forbids declaration of 'wxTreeCtrl' with no type
StatisticsDlg.h:69: error: expected ';' before '*' token
make[3]: *** [amule-amule.o] Error 1
make[3]: Leaving directory `/root/aMule-2.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/aMule-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.0.1'
make: *** [all] Error 2

Could anyone help me?

Thanks in advance!
Logged

andreground

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Compilation errors on FC4
« Reply #1 on: September 20, 2005, 05:15:00 PM »

This happens also with wxGTK linked to GTK1 instead of GTK2  ;(

Thanks in advance
Logged

andreground

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Bug!
« Reply #2 on: September 20, 2005, 05:21:05 PM »

Hi guys!

I've found that the problem comes from a bug of my 2.0.1 release!

http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg20125.html

Now the compilation is going on!  :baby:
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Compilation errors on FC4
« Reply #3 on: September 22, 2005, 04:35:50 AM »

andreground,

I see you are compiling aMule as root. Please, do not run aMule as root. Run it as a normal user. Root should only be used strictly when necessary.

Cheers!
Logged