aMule Forum

English => en_Bugs => Topic started by: a18020 on December 12, 2004, 05:16:05 PM

Title: amule not compile
Post by: a18020 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???
Title: Re: amule not compile
Post by: Jacobo221 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!
Title: Re: amule not compile
Post by: GonoszTopi 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.
Title: Re: amule not compile
Post by: Jacobo221 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