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 on Slackware 8.1  (Read 5643 times)

YogurT

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Compilation on Slackware 8.1
« 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  :(
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation on Slackware 8.1
« Reply #1 on: January 06, 2005, 12:50:05 PM »

gcc 2.95?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compilation on Slackware 8.1
« Reply #2 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 :/

YogurT

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Compilation on Slackware 8.1
« Reply #3 on: January 06, 2005, 01:25:03 PM »

yes, my gcc is 2.95.3
thx
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compilation on Slackware 8.1
« Reply #4 on: January 06, 2005, 01:25:50 PM »

well, u'll have to update it

Theetjuh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: Compilation on Slackware 8.1
« Reply #5 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 :)
Logged