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_InstallationThe 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!