aMule Forum
English => Compilation problems => Topic started by: Radek on November 15, 2005, 12:24:04 PM
-
Hi, all!
I just tried to compile the latest CVS and failed. The message was about several missing wx/*.h. As I didn't change a thing in my configuration since CVS 2005-11-06 and that worked like a charm, I did a little research in the sources/makefiles.
I found that in src/lib/ec/Makefile, src/lib/common/Makefile, src/Makefile at several places WX_CXXFLAGS is being used, which is empty.
As I only have wxbase installed, it should be WXBASE_CXXFLAGS, I think.
I tried to change that manually in some places (never got around to study autoconf/automake) and almost succeeded. Now the compilation fails at a much later point with this errorif g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/lib/wx/include/base-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_GUI=0 -I./libs -DUSE_EMBEDDED_CRYPTO -O2 -MT libmuleappcore_a-AsyncDNS.o -MD -MP -MF ".deps/libmuleappcore_a-AsyncDNS.Tpo" -c -o libmuleappcore_a-AsyncDNS.o `test -f 'AsyncDNS.cpp' || echo './'`AsyncDNS.cpp; \
then mv -f ".deps/libmuleappcore_a-AsyncDNS.Tpo" ".deps/libmuleappcore_a-AsyncDNS.Po"; else rm -f ".deps/libmuleappcore_a-AsyncDNS.Tpo"; exit 1; fi
In file included from AsyncDNS.cpp:28:
amule.h:235: error: `wxTimerEvent' was not declared in this scope
amule.h:235: error: `evt' was not declared in this scope
amule.h:235: error: invalid data member initialization
amule.h:235: error: (use `=' to initialize static data members)
amule.h:235: error: variable or field `OnTCPTimer' declared void
amule.h:237: error: `wxTimerEvent' was not declared in this scope
amule.h:237: error: `evt' was not declared in this scope
amule.h:237: error: invalid data member initialization
amule.h:237: error: variable or field `OnCoreTimer' declared void
amule.h:276: error: Syntaxfehler before `*' token
amule.h:316: error: `wxCloseEvent' was not declared in this scope
amule.h:316: error: `evt' was not declared in this scope
amule.h:316: error: invalid data member initialization
amule.h:316: error: variable or field `ShutDown' declared void
make[3]: *** [libmuleappcore_a-AsyncDNS.o] Fehler 1
For the records: wxbase-2.6.2
But, as I told, previous CVS worked. Oh, and compilation of amulegui (current CVS) under WinXP/MinGW succeeded without problems.
Cheers,
Radek
-
Just a remark for the curious: same problem is discussed in this thread (http://forum.amule.org/thread.php?threadid=8068) 8)
-
CVS 2005-11-20 is compiling just fine now. Thanks!
-
kry fixed it yesterday