aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved]2005-11-15 won't compile (amuled/wxbase on Debian Sarge)  (Read 3596 times)

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
[solved]2005-11-15 won't compile (amuled/wxbase on Debian Sarge)
« 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 error
Code: [Select]
if 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
« Last Edit: November 20, 2005, 12:14:24 PM by Radek »
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [solved]2005-11-15 won't compile (amuled/wxbase on Debian Sarge)
« Reply #1 on: November 16, 2005, 09:46:18 AM »

Just a remark for the curious: same problem is discussed in this thread 8)
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [solved]2005-11-15 won't compile (amuled/wxbase on Debian Sarge)
« Reply #2 on: November 20, 2005, 12:04:13 PM »

CVS 2005-11-20 is compiling just fine now. Thanks!
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: [solved]2005-11-15 won't compile (amuled/wxbase on Debian Sarge)
« Reply #3 on: November 20, 2005, 12:04:56 PM »

kry fixed it yesterday
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."