aMule Forum
English => Compilation problems => Topic started by: YogurT on January 06, 2005, 11:01:44 AM
-
hello!
I've got Slackware 8.1 with wxGTK-2.4.2.
I configure it with options:
./configure --prefix=/usr/local/aMule --enable-optimise --disable-cas --disable-wxcas --with-x --disable-debug
But when I make it, there are some errors:
MuleTrayIcon.h:22: warning: #warning remove this when new tray ready.
source='UploadQueue.cpp' object='amule-UploadQueue.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include -DUSE_EMBEDDED_CRYPTO -O2 -c -o amule-UploadQueue.o `test -f 'UploadQueue.cpp' || echo './'`UploadQueue.cpp
UploadQueue.cpp: In method `void CUploadQueue::AddUpNextClient(CUpDownClient * = 0)':
UploadQueue.cpp:113: `::find' undeclared (first use here)
make[4]: *** [amule-UploadQueue.o] Error 1
make[4]: Leaving directory `/tmp/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/aMule-2.0.0rc8'
make: *** [all] Error 2
What I need to do?
I've got some problems with compilation on all aMule2.0.0 versions :(
-
gcc 2.95?
-
http://forum.amule.org/thread.php?threadid=4664&sid=
same like here .. your gcc is too old :/
-
yes, my gcc is 2.95.3
thx
-
well, u'll have to update it
-
Try swaret.sf.net you can simple update to slackware 10 or any version you like :)
But watch out for packages that you don't have now, it will only upgrade, so new implemented packages you should install with: swaret --install and old packages with: swaret --remove
Good luck, i've used from 9 -> 9.1 -> 10 -> current :)