aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule not compile  (Read 2759 times)

a18020

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
amule not compile
« on: December 12, 2004, 05:16:05 PM »

I have compile the amule rc7 and rc6 and I have teh same problem.

I have a error like this:

UploadQueue.cpp: In member function `void CUploadQueue::AddUpNextClient(CUpDownClient*)':
UploadQueue.cpp:111: `find' undeclared in namespace `std'
UploadQueue.cpp:146: `find' undeclared in namespace `std'
UploadQueue.cpp: In member function `void CUploadQueue::ResumeUpload(const CMD4Hash&)':
UploadQueue.cpp:545: `find' undeclared in namespace `std'
make[4]: *** [amule-UploadQueue.o] Error 1
make[4]: Leaving directory `/usr/local/aMule-2.0.0rc7/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/aMule-2.0.0rc7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/aMule-2.0.0rc7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/aMule-2.0.0rc7'
make: *** [all] Error 2


my sistem is a debian woody r3 and I have installed

gcc3.0
curl-7.12.2
wxBase-2.5.3
wxGTK-2.5.3

to resolve this problem I'm add  in UploadQueue.cpp the next include

#include

and the problem is resolved.

I think that the problem is my gcc version but I' m not have installed a new version of gcc.

This is a bug or not???
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: amule not compile
« Reply #1 on: December 12, 2004, 07:33:17 PM »

unsintall wxbase. wxbase comes along with wxgtk since wxgtk 2.5.1
that is probably the cause of your problems :)

Greetings!
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: amule not compile
« Reply #2 on: December 12, 2004, 10:06:24 PM »

Jacobo, did you READ the post?

a18020, just don't listen to Jacobo. This error is related to gcc or more like libc++.
I don't know if libc comes with gcc or separately, but maybe upgrading it will help.
Logged
concordia cum veritate

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: amule not compile
« Reply #3 on: December 13, 2004, 12:30:49 AM »

heh, no i didn't. went directly to see the wx version :P

a18020, following the howto in the wiki? http://wiki.amule.org
Logged