aMule Forum
English => en_Bugs => Topic started 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???
-
unsintall wxbase. wxbase comes along with wxgtk since wxgtk 2.5.1
that is probably the cause of your problems :)
Greetings!
-
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.
-
heh, no i didn't. went directly to see the wx version :P
a18020, following the howto in the wiki? http://wiki.amule.org