aMule Forum

English => Compilation problems => Topic started by: YogurT on January 06, 2005, 11:01:44 AM

Title: Compilation on Slackware 8.1
Post 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  :(
Title: Re: Compilation on Slackware 8.1
Post by: Kry on January 06, 2005, 12:50:05 PM
gcc 2.95?
Title: Re: Compilation on Slackware 8.1
Post by: deltaHF on January 06, 2005, 01:05:56 PM
http://forum.amule.org/thread.php?threadid=4664&sid=

same like here .. your gcc is too old :/
Title: Re: Compilation on Slackware 8.1
Post by: YogurT on January 06, 2005, 01:25:03 PM
yes, my gcc is 2.95.3
thx
Title: Re: Compilation on Slackware 8.1
Post by: deltaHF on January 06, 2005, 01:25:50 PM
well, u'll have to update it
Title: Re: Compilation on Slackware 8.1
Post by: Theetjuh on January 06, 2005, 01:45:17 PM
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 :)