aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't  (Read 7150 times)

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« on: November 15, 2005, 10:02:44 PM »

I've tried the binary packages and evend complis WxWidgets my self but I allways get the same thing!
aMule 2.0.3 compiles just fine, but CVS allways complains about missing wx functions or var's..  ?(
With CVS I get a lot of errors like:

Code: [Select]

if g++ -DHAVE_CONFIG_H -I. -I. -I../../..     -I../../../src -I../../../src/libs -DECSOCKET_USE_EVENTS=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -MT libec_noevt_a-ECPacket.o -MD -MP -MF ".deps/libec_noevt_a-ECPacket.Tpo" -c -o libec_noevt_a-ECPacket.o `test -f 'ECPacket.cpp' || echo './'`ECPacket.cpp; \
then mv -f ".deps/libec_noevt_a-ECPacket.Tpo" ".deps/libec_noevt_a-ECPacket.Po"; else rm -f ".deps/libec_noevt_a-ECPacket.Tpo"; exit 1; fi
In file included from ECPacket.cpp:25:
ECPacket.h:28:47: error: wx/string.h: No such file or directory
In file included from ../../../src/libs/common/StringFunctions.h:29,
                 from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/libs/common/../../Types.h:30:61: error: wx/dynarray.h: No such file or directory
In file included from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/libs/common/StringFunctions.h:30:21: error: wx/defs.h: No such file or directory
../../../src/libs/common/StringFunctions.h:32:24: error: wx/strconv.h: No such file or directory
In file included from ../../../src/MD4Hash.h:31,
                 from ECPacket.h:33,
                 from ECPacket.cpp:25:
../../../src/libs/common/MuleDebug.h:29:22: error: wx/debug.h: No such file or directory
In file included from ECPacket.cpp:26:
ECSocket.h:30:53: error: wx/socket.h: No such file or directory
ECSocket.h:32:51: error: wx/thread.h: No such file or directory
../../../src/libs/common/../../Types.h:88: error: 'ArrayOfUInts16' has not been declared
../../../src/libs/common/../../Types.h:88: error: expected constructor, destructor, or type conversion before ';' token
../../../src/libs/common/../../Types.h:91: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:75: error: 'wxWX2MBbuf' does not name a type
../../../src/libs/common/StringFunctions.h:76: error: 'wxMB2WXbuf' does not name a type
../../../src/libs/common/StringFunctions.h:78: error: 'wxCSConv' does not name a type
../../../src/libs/common/StringFunctions.h:80: error: 'Unicode2CharBuf' does not name a type
../../../src/libs/common/StringFunctions.h:81: error: 'Char2UnicodeBuf' does not name a type
../../../src/libs/common/StringFunctions.h:83: error: 'Unicode2CharBuf' does not name a type
../../../src/libs/common/StringFunctions.h:84: error: 'Char2UnicodeBuf' does not name a type
../../../src/libs/common/StringFunctions.h:86: error: 'wxCharBuffer' does not name a type
../../../src/libs/common/StringFunctions.h:87: error: 'wxCharBuffer' does not name a type
../../../src/libs/common/StringFunctions.h:92: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:98: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h: In function 'char* nstrdup(const char*)':
../../../src/libs/common/StringFunctions.h:110: error: 'strlen' was not declared in this scope
../../../src/libs/common/StringFunctions.h:112: error: 'strcpy' was not declared in this scope
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:121: error: expected ',' or '...' before '&' token
../../../src/libs/common/StringFunctions.h:121: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/StringFunctions.h: In function 'long int StrToLong(int)':
../../../src/libs/common/StringFunctions.h:123: error: 'str' was not declared in this scope
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:121: warning: unused parameter 'wxString'
../../../src/libs/common/StringFunctions.h:127: error: expected ',' or '...' before '&' token
../../../src/libs/common/StringFunctions.h:127: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/StringFunctions.h: In function 'long unsigned int StrToULong(int)':
../../../src/libs/common/StringFunctions.h:129: error: 'str' was not declared in this scope
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:127: warning: unused parameter 'wxString'
../../../src/libs/common/StringFunctions.h:134: error: expected ',' or '...' before '&' token
../../../src/libs/common/StringFunctions.h:134: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/StringFunctions.h: In function 'unsigned int GetRawSize(int)':
../../../src/libs/common/StringFunctions.h:137: error: 'eEncode' was not declared in this scope
../../../src/libs/common/StringFunctions.h:141: error: 'Unicode2CharBuf' was not declared in this scope
../../../src/libs/common/StringFunctions.h:141: error: expected `;' before 's'
../../../src/libs/common/StringFunctions.h:142: error: 's' was not declared in this scope
../../../src/libs/common/StringFunctions.h:143: error: 'strlen' was not declared in this scope
../../../src/libs/common/StringFunctions.h:150: error: 'Unicode2CharBuf' was not declared in this scope
../../../src/libs/common/StringFunctions.h:150: error: expected `;' before 's'
../../../src/libs/common/StringFunctions.h:151: error: 's' was not declared in this scope
../../../src/libs/common/StringFunctions.h:152: error: 'strlen' was not declared in this scope
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:134: warning: unused parameter 'wxString'
../../../src/libs/common/StringFunctions.h:172: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:174: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:177: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:186: error: 'wxChar' does not name a type
../../../src/libs/common/StringFunctions.h:195: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:201: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:214: error: expected ',' or '...' before '&' token
../../../src/libs/common/StringFunctions.h:214: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/StringFunctions.h:222: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:234: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:239: error: 'size_t' does not name a type
../../../src/libs/common/StringFunctions.h:243: error: 'wxString' does not name a type
../../../src/libs/common/StringFunctions.h:246: error: 'wxChar' does not name a type
../../../src/libs/common/StringFunctions.h:249: error: ISO C++ forbids declaration of 'wxChar' with no type
../../../src/libs/common/StringFunctions.h:249: error: expected ';' before '*' token
../../../src/libs/common/StringFunctions.h:252: error: 'size_t' does not name a type
../../../src/ArchSpecific.h: In function 'uint16 PeekUInt16(const void*)':
../../../src/ArchSpecific.h:151: error: 'wxUINT16_SWAP_ON_BE' was not declared in this scope
../../../src/ArchSpecific.h: In function 'uint32 PeekUInt32(const void*)':
../../../src/ArchSpecific.h:157: error: 'wxUINT32_SWAP_ON_BE' was not declared in this scope
../../../src/ArchSpecific.h: In function 'void PokeUInt16(void*, uint16)':
../../../src/ArchSpecific.h:205: error: 'wxUINT16_SWAP_ON_BE' was not declared in this scope
../../../src/ArchSpecific.h: In function 'void PokeUInt32(void*, uint32)':
../../../src/ArchSpecific.h:211: error: 'wxUINT32_SWAP_ON_BE' was not declared in this scope
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:48: error: 'wxString' does not name a type
../../../src/libs/common/MuleDebug.h:59: error: expected ',' or '...' before '&' token
../../../src/libs/common/MuleDebug.h:59: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/MuleDebug.h:63: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/MuleDebug.h:63: error: expected ';' before '&' token
../../../src/libs/common/MuleDebug.h:67: error: expected `;' before 'private'
../../../src/libs/common/MuleDebug.h:68: error: 'wxString' does not name a type
../../../src/libs/common/MuleDebug.h: In constructor 'CMuleException::CMuleException(int)':
../../../src/libs/common/MuleDebug.h:60: error: class 'CMuleException' does not have any field named 'm_what'
../../../src/libs/common/MuleDebug.h:60: error: 'type' was not declared in this scope
../../../src/libs/common/MuleDebug.h:60: error: 'wxT' was not declared in this scope
../../../src/libs/common/MuleDebug.h:60: error: 'what' was not declared in this scope
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:59: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:59: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:79: error: expected ',' or '...' before '&' token
../../../src/libs/common/MuleDebug.h:79: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/MuleDebug.h: In constructor 'CRunTimeException::CRunTimeException(int)':
../../../src/libs/common/MuleDebug.h:80: error: 'wxT' was not declared in this scope
../../../src/libs/common/MuleDebug.h:80: error: 'type' was not declared in this scope
../../../src/libs/common/MuleDebug.h:80: error: 'what' was not declared in this scope
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:79: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:79: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:90: error: expected ',' or '...' before '&' token
../../../src/libs/common/MuleDebug.h:90: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/MuleDebug.h: In constructor 'CInvalidParamsEx::CInvalidParamsEx(int)':
../../../src/libs/common/MuleDebug.h:91: error: 'wxT' was not declared in this scope
../../../src/libs/common/MuleDebug.h:91: error: 'what' was not declared in this scope
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:90: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:90: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:100: error: expected ',' or '...' before '&' token
../../../src/libs/common/MuleDebug.h:100: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/MuleDebug.h: In constructor 'CInvalidStateEx::CInvalidStateEx(int)':
../../../src/libs/common/MuleDebug.h:101: error: 'wxT' was not declared in this scope
../../../src/libs/common/MuleDebug.h:101: error: 'what' was not declared in this scope
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:100: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:100: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:106: error: expected ',' or '...' before '&' token
../../../src/libs/common/MuleDebug.h:106: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/libs/common/MuleDebug.h: In constructor 'CInvalidPacket::CInvalidPacket(int)':
../../../src/libs/common/MuleDebug.h:107: error: 'wxT' was not declared in this scope
../../../src/libs/common/MuleDebug.h:107: error: 'what' was not declared in this scope
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:106: warning: unused parameter 'wxString'
../../../src/libs/common/MuleDebug.h:106: warning: unused parameter 'wxString'
../../../src/MD4Hash.h:83: error: expected ',' or '...' before '&' token
../../../src/MD4Hash.h:83: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/MD4Hash.h:166: error: expected ',' or '...' before '&' token
../../../src/MD4Hash.h:166: error: ISO C++ forbids declaration of 'wxString' with no type
../../../src/MD4Hash.h:197: error: 'wxString' does not name a type
../../../src/MD4Hash.h: In constructor 'CMD4Hash::CMD4Hash(int)':
../../../src/MD4Hash.h:84: error: 'hash' was not declared in this scope
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:83: warning: unused parameter 'wxString'
../../../src/MD4Hash.h:83: warning: unused parameter 'wxString'
../../../src/MD4Hash.h: In member function 'void CMD4Hash::Decode(int)':
../../../src/MD4Hash.h:167: error: 'hash' was not declared in this scope
../../../src/MD4Hash.h:167: error: 'wxASSERT' was not declared in this scope
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:166: warning: unused parameter 'wxString'
../../../src/MD4Hash.h: In member function 'unsigned char CMD4Hash::operator[](size_t) const':
../../../src/MD4Hash.h:246: error: 'wxT' was not declared in this scope
../../../src/MD4Hash.h:246: error: 'wxFAIL_MSG' was not declared in this scope
../../../src/MD4Hash.h: In member function 'unsigned char& CMD4Hash::operator[](size_t)':
../../../src/MD4Hash.h:251: error: 'wxT' was not declared in this scope
../../../src/MD4Hash.h:251: error: 'wxFAIL_MSG' was not declared in this scope
ECPacket.h: At global scope:
ECPacket.h:63: error: 'wxString' does not name a type
ECPacket.h:93: error: expected ',' or '...' before '&' token
ECPacket.h:93: error: ISO C++ forbids declaration of 'wxString' with no type
ECPacket.h:128: error: 'wxString' does not name a type
ECPacket.h:163: error: 'wxString' has not been declared
ECPacket.h: In member function 'uint16 CECTag::GetInt16Data() const':
ECPacket.h:119: error: 'wxUINT16_SWAP_ON_LE' was not declared in this scope
ECPacket.h: In member function 'uint32 CECTag::GetInt32Data() const':
ECPacket.h:120: error: 'wxUINT32_SWAP_ON_LE' was not declared in this scope
ECPacket.h: In member function 'uint64 CECTag::GetInt64Data() const':
ECPacket.h:123: error: 'wxUINT32_SWAP_ON_LE' was not declared in this scope
ECPacket.h: In member function 'void CECTag::AssignIfExist(ec_tagname_t, int&)':
ECPacket.h:166: error: 'class CECTag' has no member named 'GetStringData'
ECSocket.h: At global scope:
ECSocket.h:63: error: expected class-name before '{' token
ECSocket.h:179: error: 'wxSocketError' does not name a type
ECSocket.h:187: error: 'wxString' does not name a type
ECSocket.h:256: error: 'wxSocketError' does not name a type
ECSocket.h: In member function 'bool CECSocket::WaitOnConnect(long int, long int)':
ECSocket.h:76: error: 'wxSocketClient' has not been declared
ECSocket.h: In member function 'bool CECSocket::Close()':
ECSocket.h:93: error: 'wxSocketClient' has not been declared
ECPacket.cpp: In constructor 'CECTag::CECTag(ec_tagname_t, const EC_IPv4_t&)':
ECPacket.cpp:126: error: 'wxUINT16_SWAP_ON_LE' was not declared in this scope
ECPacket.cpp: At global scope:
ECPacket.cpp:165: error: expected ',' or '...' before '&' token
ECPacket.cpp:165: error: ISO C++ forbids declaration of 'wxString' with no type
ECPacket.cpp: In constructor 'CECTag::CECTag(ec_tagname_t, int)':
ECPacket.cpp:167: error: 'wxCharBuffer' does not name a type
ECPacket.cpp:168: error: 'buf' was not declared in this scope
ECPacket.cpp: At global scope:
ECPacket.cpp:165: warning: unused parameter 'wxString'
ECPacket.cpp:165: warning: unused parameter 'wxString'
ECPacket.cpp: In constructor 'CECTag::CECTag(ec_tagname_t, uint16)':
ECPacket.cpp:253: error: 'wxUINT16_SWAP_ON_LE' was not declared in this scope
ECPacket.cpp: In constructor 'CECTag::CECTag(ec_tagname_t, uint32)':
ECPacket.cpp:275: error: 'wxUINT32_SWAP_ON_LE' was not declared in this scope
ECPacket.cpp: In constructor 'CECTag::CECTag(ec_tagname_t, uint64)':
ECPacket.cpp:299: error: 'wxUINT32_SWAP_ON_LE' was not declared in this scope
ECPacket.cpp: In constructor 'CECTag::CECTag(ec_tagname_t, double)':
ECPacket.cpp:320: error: 'wxCharBuffer' does not name a type
ECPacket.cpp:321: error: 'buf' was not declared in this scope
ECPacket.cpp: At global scope:
ECPacket.cpp:318: warning: unused parameter 'data'
ECPacket.cpp:318: warning: unused parameter 'data'
ECPacket.cpp: In member function 'bool CECTag::AddTag(const CECTag&)':
ECPacket.cpp:416: error: 'wxASSERT' was not declared in this scope
ECPacket.cpp: In member function 'EC_IPv4_t CECTag::GetIPv4Data() const':
ECPacket.cpp:601: error: 'wxUINT16_SWAP_ON_LE' was not declared in this scope
ECPacket.cpp: In member function 'double CECTag::GetDoubleData() const':
ECPacket.cpp:619: error: 'GetStringData' was not declared in this scope

Its just not understandable.. Why CVS fails when 2.0.3 not? I've tried 3 tarballs and it's allways the same!
« Last Edit: November 15, 2005, 10:03:54 PM by Dante_ »
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #1 on: November 16, 2005, 08:41:38 AM »

What is you ./configure output? Does it have any errors?
Logged
concordia cum veritate

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #2 on: November 16, 2005, 09:11:59 AM »

I get the same problem.
I read that Kry changed some permissions...
./configure output doesn't give errors, but make doesn't find the wx/*.h files...
I have wxBase 2.6.2, is that a problem?

Or there is an option to pass the wx dir?

@Dante_: if you _really need_ it try the tarball 20051108, it works for me.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #3 on: November 16, 2005, 09:23:49 AM »

It's caused by wxbase indeed.

I'll do some changes today, and tomorrow you can retry - I guess it'll be ok.
Logged

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #4 on: November 16, 2005, 09:25:45 AM »

Many many thanks Kry  :baby: :baby:

I'll try the next CVS and let you know :)
Logged

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #5 on: November 16, 2005, 09:51:46 AM »

No errors in ./configure, and it happens the same to me with wxBase or wxGTK...

Code: [Select]
root@box:/usr/src/amule-cvs # ./configure --enable-amule-daemon --enable-webserver --disable-monolithic --disable-gtktest --disable-gtk --disable-gtk2 --disable-systray
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... yes (version 1.2.3)
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.33)
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking for gd.h... (cached) yes
checking whether we need the GUI... no
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.6.2)
checking that wxWidgets has support for large files... yes
checking that wxBase has support for large files... yes
checking whether to use embedded Crypto... yes
checking for bfd headers... yes
checking for autopoint... yes (0.14.5)
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for library containing strerror... none required
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether taskbar icon support should be compiled... no
checking if the applications should be statically linked... no
checking for CVSDATE... Tue Nov 15 07:02:04 CET 2005
checking if this is a FreeBSD 4 or earlier system... no
checking for a readline compatible library... no
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/kademlia/Makefile
config.status: creating src/kademlia/utils/Makefile
config.status: creating src/kademlia/io/Makefile
config.status: creating src/kademlia/kademlia/Makefile
config.status: creating src/kademlia/routing/Makefile
config.status: creating src/kademlia/net/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/ec/Makefile
config.status: creating src/libs/common/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/src/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating src/webserver/php-default/Makefile
config.status: creating src/webserver/chicane/Makefile
config.status: creating unittests/Makefile
config.status: creating unittests/muleunit/Makefile
config.status: creating unittests/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


  Configure script has finished system check.

  Configured aMule CVS for 'i686-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with taskbar icon support?        no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.6.2
                                       crypto++              embedded
                                       libpng                1.2.8
                                       libgd                 2.0.33
                                       zlib                  1.2.3
« Last Edit: November 16, 2005, 09:53:43 AM by Dante_ »
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #6 on: November 17, 2005, 08:36:30 AM »

nope, it still give the same error:

Code: [Select]
~/amule-cvs $ make
make  all-recursive
make[1]: Entering directory `/home/utente-web/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/utente-web/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/utente-web/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/home/utente-web/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/home/utente-web/amule-cvs/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/utente-web/amule-cvs/docs/man'
make[3]: Entering directory `/home/utente-web/amule-cvs/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/utente-web/amule-cvs/docs'
make[2]: Leaving directory `/home/utente-web/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/utente-web/amule-cvs/src'
Making all in libs
make[3]: Entering directory `/home/utente-web/amule-cvs/src/libs'
Making all in ec
make[4]: Entering directory `/home/utente-web/amule-cvs/src/libs/ec'
gcc -o mkFileSum ../../../src/utils/mkFileSum.c
Generating ECVersion.h... created.
make  all-am
make[5]: Entering directory `/home/utente-web/amule-cvs/src/libs/ec'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..     -I../../../src -I../../../src/libs -DECSOCKET_USE_EVENTS=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -MT libec_noevt_a-ECPacket.o -MD -MP -MF ".deps/libec_noevt_a-ECPacket.Tpo" -c -o libec_noevt_a-ECPacket.o `test -f 'ECPacket.cpp' || echo './'`ECPacket.cpp; \
then mv -f ".deps/libec_noevt_a-ECPacket.Tpo" ".deps/libec_noevt_a-ECPacket.Po"; else rm -f ".deps/libec_noevt_a-ECPacket.Tpo"; exit 1; fi
In file included from ECPacket.cpp:25:
ECPacket.h:28:55: wx/string.h: No such file or directory
In file included from ../../../src/libs/common/StringFunctions.h:29,
                 from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/Types.h:30:68: wx/dynarray.h: No such file or directory
../../../src/Types.h:31:73: wx/string.h: No such file or directory
In file included from ../../../src/libs/common/StringFunctions.h:29,
                 from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/Types.h:88: error: type specifier omitted for parameter `ArrayOfUInts16'
../../../src/Types.h:88: error: ISO C++ forbids declaration of `WX_DEFINE_ARRAY_SHORT' with no type
../../../src/Types.h:91: error: syntax error before `=' token
In file included from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/libs/common/StringFunctions.h:30:21: wx/defs.h: No such file or directory
../../../src/libs/common/StringFunctions.h:31:23: wx/string.h: No such file or directory
../../../src/libs/common/StringFunctions.h:32:24: wx/strconv.h: No such file or directory
In file included from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/libs/common/StringFunctions.h:75: error: syntax error before `;' token
../../../src/libs/common/StringFunctions.h:76: error: syntax error before `;' token
../../../src/libs/common/StringFunctions.h:78: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:80: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:81: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:83: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:84: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:86: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:87: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:92: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h:98: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h: In function `char* nstrdup(const char*)':
../../../src/libs/common/StringFunctions.h:110: error: `strlen' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h:110: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../src/libs/common/StringFunctions.h:112: error: `strcpy' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:121: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h: In function `long int StrToLong(...)':
../../../src/libs/common/StringFunctions.h:123: error: `str' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:127: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:134: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h: In function `unsigned int GetRawSize(...)':
../../../src/libs/common/StringFunctions.h:137: error: `eEncode' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h:141: error: `Unicode2CharBuf' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h:141: error: parse error before `(' token
../../../src/libs/common/StringFunctions.h:142: error: `s' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h:143: error: `strlen' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h:150: error: parse error before `(' token
../../../src/libs/common/StringFunctions.h: At global scope:
../../../src/libs/common/StringFunctions.h:172: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:174: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:177: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:186: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:195: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:201: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:214: error: parse error before `&' token
../../../src/libs/common/StringFunctions.h:222: error: parse error before `)' token
../../../src/libs/common/StringFunctions.h:234: error: parse error before `)' token
../../../src/libs/common/StringFunctions.h:239: error: parse error before `)' token
../../../src/libs/common/StringFunctions.h:243: error: 'wxString' is used as a type, but is not defined as a type.
../../../src/libs/common/StringFunctions.h:246: error: 'wxChar' is used as a type, but is not defined as a type.
../../../src/libs/common/StringFunctions.h:249: error: ISO C++ forbids declaration of `wxChar' with no type
../../../src/libs/common/StringFunctions.h:249: error: parse error before `*' token
../../../src/libs/common/StringFunctions.h:252: error: 'size_t' is used as a type, but is not defined as a type.
../../../src/libs/common/StringFunctions.h:249: warning: non-static const member `const int CSimpleTokenizer::wxChar' in class without a constructor
In file included from ../../../src/MD4Hash.h:30,
                 from ECPacket.h:33,
                 from ECPacket.cpp:25:
../../../src/ArchSpecific.h: In function `uint16 PeekUInt16(const void*)':
../../../src/ArchSpecific.h:151: error: `wxUINT16_SWAP_ON_BE' undeclared (first use this function)
../../../src/ArchSpecific.h: In function `uint32 PeekUInt32(const void*)':
../../../src/ArchSpecific.h:157: error: `wxUINT32_SWAP_ON_BE' undeclared (first use this function)
../../../src/ArchSpecific.h: In function `void PokeUInt16(void*, short unsigned int)':
../../../src/ArchSpecific.h:205: error: `wxUINT16_SWAP_ON_BE' undeclared (first use this function)
../../../src/ArchSpecific.h: In function `void PokeUInt32(void*, unsigned int)':
../../../src/ArchSpecific.h:211: error: `wxUINT32_SWAP_ON_BE' undeclared (first use this function)
In file included from ../../../src/MD4Hash.h:31,
                 from ECPacket.h:33,
                 from ECPacket.cpp:25:
../../../src/libs/common/MuleDebug.h:29:22: wx/debug.h: No such file or directory
../../../src/libs/common/MuleDebug.h:31:23: wx/string.h: No such file or directory
In file included from ../../../src/MD4Hash.h:31,
                 from ECPacket.h:33,
                 from ECPacket.cpp:25:
../../../src/libs/common/MuleDebug.h: At global scope:
../../../src/libs/common/MuleDebug.h:48: error: parse error before `)' token
../../../src/libs/common/MuleDebug.h:59: error: parse error before `&' token
../../../src/libs/common/MuleDebug.h:61: error: missing ';' before right brace
../../../src/libs/common/MuleDebug.h:63: error: ISO C++ forbids defining types within return type
../../../src/libs/common/MuleDebug.h:63: error: syntax error before `&' token
../../../src/libs/common/MuleDebug.h:79: error: parse error before `&' token
../../../src/libs/common/MuleDebug.h:80: error: missing ';' before right brace
../../../src/libs/common/MuleDebug.h:90: error: parse error before `&' token
../../../src/libs/common/MuleDebug.h:91: error: missing ';' before right brace
../../../src/libs/common/MuleDebug.h:100: error: parse error before `&' token
../../../src/libs/common/MuleDebug.h:101: error: missing ';' before right brace
../../../src/libs/common/MuleDebug.h:106: error: parse error before `&' token
../../../src/libs/common/MuleDebug.h:107: error: missing ';' before right brace
In file included from ECPacket.h:33,
                 from ECPacket.cpp:25:
../../../src/MD4Hash.h:33:55: wx/string.h: No such file or directory
In file included from ECPacket.h:33,
                 from ECPacket.cpp:25:
../../../src/MD4Hash.h:83: error: parse error before `&' token
../../../src/MD4Hash.h:93: error: semicolon missing after declaration of `CMD4Hash'
../../../src/MD4Hash.h: In constructor `CMD4Hash::CMD4Hash()':
../../../src/MD4Hash.h:58: error: `Clear' undeclared (first use this function)
../../../src/MD4Hash.h: In constructor `CMD4Hash::CMD4Hash(const unsigned char*)':
../../../src/MD4Hash.h:73: error: `SetHash' undeclared (first use this function)
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:93: error: ISO C++ forbids defining types within return type
../../../src/MD4Hash.h:93: error: `bool' is now a keyword
../../../src/MD4Hash.h:93: error: non-member function `CMD4Hash operator==(const CMD4Hash&)' cannot have `const' method qualifier
../../../src/MD4Hash.h:93: error: `CMD4Hash operator==(const CMD4Hash&)' must take exactly two arguments
../../../src/MD4Hash.h:93: error: semicolon missing after declaration of `class CMD4Hash'
../../../src/MD4Hash.h: In function `int operator==(const CMD4Hash&)':
../../../src/MD4Hash.h:95: error: `m_hash' undeclared (first use this function)
../../../src/MD4Hash.h:95: error: 'const class CMD4Hash' has no member named 'm_hash'
../../../src/MD4Hash.h:96: error: 'const class CMD4Hash' has no member named 'm_hash'
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:105: error: non-member function `bool operator!=(const CMD4Hash&)' cannot have `const' method qualifier
../../../src/MD4Hash.h:105: error: `bool operator!=(const CMD4Hash&)' must take exactly two arguments
../../../src/MD4Hash.h: In function `bool operator!=(const CMD4Hash&)':
../../../src/MD4Hash.h:106: error: invalid use of `this' in non-member function
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:117: error: non-member function `bool operator<(const CMD4Hash&)' cannot have `const' method qualifier
../../../src/MD4Hash.h:117: error: `bool operator<(const CMD4Hash&)' must take exactly two arguments
../../../src/MD4Hash.h: In function `bool operator<(const CMD4Hash&)':
../../../src/MD4Hash.h:119: error: 'const class CMD4Hash' has no member named 'm_hash'
../../../src/MD4Hash.h:121: error: 'const class CMD4Hash' has no member named 'm_hash'
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:139: error: non-member function `bool IsEmpty()' cannot have `const' method qualifier
../../../src/MD4Hash.h: In function `void Clear()':
../../../src/MD4Hash.h:152: error: `void Clear()' used prior to declaration
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:166: error: parse error before `&' token
../../../src/MD4Hash.h: In function `void Decode(...)':
../../../src/MD4Hash.h:167: error: `hash' undeclared (first use this function)
../../../src/MD4Hash.h:167: error: `wxASSERT' undeclared (first use this function)
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:197: error: parse error before `)' token
../../../src/MD4Hash.h:200: error: parse error before `;' token
../../../src/MD4Hash.h:200: error: syntax error before `++' token
../../../src/MD4Hash.h: In function `void SetHash(const unsigned char*)':
../../../src/MD4Hash.h:218: error: `void SetHash(const unsigned char*)' used prior to declaration
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:235: error: non-member function `const unsigned char* GetHash()' cannot have `const' method qualifier
../../../src/MD4Hash.h: In function `const unsigned char* GetHash()':
../../../src/MD4Hash.h:235: error: new declaration `const unsigned char* GetHash()'
../../../src/MD4Hash.h:232: error: ambiguates old declaration `unsigned char* GetHash()'
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:245: error: non-member function `unsigned char operator[](unsigned int)' cannot have `const' method qualifier
../../../src/MD4Hash.h:245: error: `unsigned char operator[](unsigned int)' must be a nonstatic member function
../../../src/MD4Hash.h:245: error: `unsigned char operator[](unsigned int)' must take exactly two arguments
../../../src/MD4Hash.h: In function `unsigned char operator[](unsigned int)':
../../../src/MD4Hash.h:246: error: `wxT' undeclared (first use this function)
../../../src/MD4Hash.h:246: error: `wxFAIL_MSG' undeclared (first use this function)
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:250: error: `unsigned char& operator[](unsigned int)' must be a nonstatic member function
../../../src/MD4Hash.h:250: error: `unsigned char& operator[](unsigned int)' must take exactly two arguments
../../../src/MD4Hash.h: In function `unsigned char& operator[](unsigned int)':
../../../src/MD4Hash.h:250: error: new declaration `unsigned char& operator[](unsigned int)'
../../../src/MD4Hash.h:245: error: ambiguates old declaration `unsigned char operator[](unsigned int)'
../../../src/MD4Hash.h: At global scope:
../../../src/MD4Hash.h:255: error: parse error before `private'
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/cstring:51,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_algobase.h:65,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/vector:67,
                 from ECPacket.h:36,
                 from ECPacket.cpp:25:
/usr/include/string.h:85: error: `char* strcpy(char*, const char*)' used prior to declaration
/usr/include/string.h:243: error: `size_t strlen(const char*)' used prior to declaration
In file included from ECPacket.cpp:25:
ECPacket.h:63: error: parse error before `=' token
ECPacket.h: In constructor `EC_IPv4_t::EC_IPv4_t(unsigned int, short unsigned int)':
ECPacket.h:51: error: `ip' is not a member of type `EC_IPv4_t'
ECPacket.h:52: error: `ip' is not a member of type `EC_IPv4_t'
ECPacket.h:53: error: `ip' is not a member of type `EC_IPv4_t'
ECPacket.h:54: error: `ip' is not a member of type `EC_IPv4_t'
ECPacket.h:55: error: `port' is not a member of type `EC_IPv4_t'
ECPacket.h: In member function `uint32 EC_IPv4_t::IP()':
ECPacket.h:60: error: `ip' undeclared (first use this function)
ECPacket.h: At global scope:
ECPacket.h:68: error: ISO C++ forbids defining types within return type
ECPacket.h:68: error: syntax error before `[' token
ECPacket.h:70: error: parse error before `}' token
ECPacket.h:93: error: parse error before `&' token
ECPacket.h:128: error: parse error before `)' token
ECPacket.h: In member function `const CECTag* CECTag::GetTagByIndex(unsigned int) const':
ECPacket.h:102: error: `m_tagList' undeclared (first use this function)
ECPacket.h: In member function `const CECTag* CECTag::GetTagByIndexSafe(unsigned int) const':
ECPacket.h:106: error: `s_theNullTag' undeclared (first use this function)
ECPacket.h: In member function `const void* CECTag::GetTagData() const':
ECPacket.h:113: error: `m_tagData' undeclared (first use this function)
ECPacket.h: In member function `uint16 CECTag::GetTagDataLen() const':
ECPacket.h:114: error: `m_dataLen' undeclared (first use this function)
ECPacket.h: In member function `ec_tagname_t CECTag::GetTagName() const':
ECPacket.h:116: error: `m_tagName' undeclared (first use this function)
ECPacket.h: In member function `uint16 CECTag::GetInt16Data() const':
ECPacket.h:119: error: `wxUINT16_SWAP_ON_LE' undeclared (first use this function)
ECPacket.h: In member function `uint32 CECTag::GetInt32Data() const':
ECPacket.h:120: error: `wxUINT32_SWAP_ON_LE' undeclared (first use this function)
ECPacket.h: In member function `uint64 CECTag::GetInt64Data() const':
ECPacket.h:123: error: `wxUINT32_SWAP_ON_LE' undeclared (first use this function)
ECPacket.h: At global scope:
ECPacket.h:130: error: ISO C++ forbids defining types within return type
ECPacket.h:130: error: syntax error before `(' token
ECPacket.h:131: error: non-member function `CMD4Hash GetMD4Data()' cannot have `const' method qualifier
ECPacket.h: In function `void AssignIfExist(short unsigned int, uint8&)':
ECPacket.h:135: error: `GetTagByName' undeclared (first use this function)
ECPacket.h: In function `void AssignIfExist(short unsigned int, uint16&)':
ECPacket.h:140: error: `GetTagByName' undeclared (first use this function)
ECPacket.h: In function `void AssignIfExist(short unsigned int, uint32&)':
ECPacket.h:145: error: `GetTagByName' undeclared (first use this function)
ECPacket.h: In function `void AssignIfExist(short unsigned int, uint64&)':
ECPacket.h:150: error: `GetTagByName' undeclared (first use this function)
ECPacket.h: In function `void AssignIfExist(short unsigned int, double&)':
ECPacket.h:155: error: `GetTagByName' undeclared (first use this function)
ECPacket.h: In function `void AssignIfExist(short unsigned int, CMD4Hash&)':
ECPacket.h:160: error: `GetTagByName' undeclared (first use this function)
ECPacket.h:161: error: `GetMD4Data' undeclared (first use this function)
ECPacket.h: At global scope:
ECPacket.h:163: error: type specifier omitted for parameter `wxString'
ECPacket.h:163: error: parse error before `&' token
ECPacket.h: In function `void AssignIfExist(...)':
ECPacket.h:165: error: `tagname' undeclared (first use this function)
ECPacket.h:165: error: `GetTagByName' undeclared (first use this function)
ECPacket.h:166: error: `target' undeclared (first use this function)
ECPacket.h:166: error: `GetStringData' undeclared (first use this function)
ECPacket.h: At global scope:
ECPacket.h:169: error: parse error before `protected'
ECPacket.h:172: error: non-member function `bool WriteTag(CECSocket&)' cannot have `const' method qualifier
ECPacket.h:174: error: non-member function `bool WriteChildren(CECSocket&)' cannot have `const' method qualifier
ECPacket.h:176: error: `const void*m_tagData' used prior to declaration
ECPacket.h:178: error: parse error before `private'
ECPacket.h:183: error: parse error before `const'
ECPacket.h:185: error: `ec_tagname_t m_tagName' used prior to declaration
ECPacket.h:186: error: `unsigned int m_dataLen' used prior to declaration
ECPacket.h:190: error: `TagList m_tagList' used prior to declaration
ECPacket.h:192: error: `const CECTag s_theNullTag' used prior to declaration
ECPacket.h:192: error: no matching function for call to `CECTag::CECTag()'
ECPacket.h:96: error: candidates are: CECTag::CECTag(const CECTag&)
ECPacket.h:95: error:                 CECTag::CECTag(short unsigned int, const CMD4Hash&)
ECPacket.h:94: error:                 CECTag::CECTag(short unsigned int, const EC_IPv4_t&)
ECPacket.h:92: error:                 CECTag::CECTag(short unsigned int, double)
ECPacket.h:91: error:                 CECTag::CECTag(short unsigned int, long long unsigned int)
ECPacket.h:90: error:                 CECTag::CECTag(short unsigned int, unsigned int)
ECPacket.h:89: error:                 CECTag::CECTag(short unsigned int, short unsigned int)
ECPacket.h:88: error:                 CECTag::CECTag(short unsigned int, unsigned char)
ECPacket.h:86: error:                 CECTag::CECTag(short unsigned int, unsigned int, void**)
ECPacket.h:84: error:                 CECTag::CECTag(short unsigned int, unsigned int, const void*, bool)
ECPacket.h:193: error: uninitialized const `s_theNullTagData'
ECPacket.h:194: error: parse error before `}' token
In file included from ECPacket.cpp:26:
ECSocket.h:30:61: wx/socket.h: No such file or directory
ECSocket.h:31:55: wx/string.h: No such file or directory
ECSocket.h:32:59: wx/thread.h: No such file or directory
In file included from ECPacket.cpp:26:
ECSocket.h:63: error: parse error before `{' token
ECSocket.h:65: error: `friend' can only be specified inside a class
ECSocket.h:66: error: `friend' can only be specified inside a class
ECSocket.h:68: error: parse error before `public'
ECSocket.h:70: error: destructors must be member functions
ECSocket.h:70: error: virtual outside class declaration
ECSocket.h: In function `bool WaitOnConnect(long int, long int)':
ECSocket.h:76: error: `wxSocketClient' undeclared (first use this function)
ECSocket.h:76: error: parse error before `::' token
ECSocket.h:75: warning: unused parameter `long int seconds'
ECSocket.h:75: warning: unused parameter `long int milliseconds'
ECSocket.h: At global scope:
ECSocket.h:80: error: parse error before `return'
ECSocket.h: In function `bool Close()':
ECSocket.h:92: error: `OnClose' undeclared (first use this function)
ECSocket.h:93: error: parse error before `::' token
ECSocket.h: In function `bool IsDestroying()':
ECSocket.h:116: error: `m_destroying' undeclared (first use this function)
ECSocket.h: At global scope:
ECSocket.h:179: error: parse error before `)' token
ECSocket.h:187: error: `wxSocketError' was not declared in this scope
ECSocket.h:187: error: parse error before `)' token
ECSocket.h:196: error: virtual outside class declaration
ECSocket.h:207: error: virtual outside class declaration
ECSocket.h:215: error: virtual outside class declaration
ECSocket.h: In function `void OnClose()':
ECSocket.h:215: error: `void OnClose()' used prior to declaration
ECSocket.h: At global scope:
ECSocket.h:225: error: virtual outside class declaration
ECSocket.h:227: error: parse error before `private'
ECSocket.h:258: error: 'wxSocketError' is used as a type, but is not defined as a type.
ECSocket.h:259: error: `bool m_destroying' used prior to declaration
ECSocket.h:311: error: parse error before `}' token
ECPacket.cpp:38: error: parse error before `*' token
ECPacket.cpp:38: error: no `const CECTag CECTag::s_theNullTag(...)' member function declared in class `CECTag'
ECPacket.cpp: In member function `const CECTag CECTag::s_theNullTag(...)':
ECPacket.cpp:41: error: `const uint32 CECTag::s_theNullTagData[4]' is not a static member of `class CECTag'
ECPacket.cpp:50: error: parse error before `*' token
ECPacket.cpp: In constructor `CECTag::CECTag(short unsigned int, unsigned int, const void*, bool)':
ECPacket.cpp:71: error: class `CECTag' does not have any field named `m_tagName'
ECPacket.cpp:71: error: class `CECTag' does not have any field named `m_dynamic'
ECPacket.cpp: In constructor `CECTag::CECTag(short unsigned int, unsigned int, void**)':
ECPacket.cpp:97: error: class `CECTag' does not have any field named `m_tagName'
ECPacket.cpp:97: error: class `CECTag' does not have any field named `m_dynamic'
ECPacket.cpp: In constructor `CECTag::CECTag(short unsigned int, const EC_IPv4_t&)':
ECPacket.cpp:119: error: class `CECTag' does not have any field named `m_tagName'
ECPacket.cpp:119: error: class `CECTag' does not have any field named `m_dynamic'
ECPacket.cpp:125: error: 'class EC_IPv4_t' has no member named 'ip'
ECPacket.cpp:125: error: 'const class EC_IPv4_t' has no member named 'ip'
ECPacket.cpp:126: error: 'class EC_IPv4_t' has no member named 'port'
ECPacket.cpp:126: error: 'const class EC_IPv4_t' has no member named 'port'
ECPacket.cpp:126: error: `wxUINT16_SWAP_ON_LE' undeclared (first use this function)
ECPacket.cpp: In constructor `CECTag::CECTag(short unsigned int, const CMD4Hash&)':
ECPacket.cpp:143: error: class `CECTag' does not have any field named `m_tagName'
ECPacket.cpp:143: error: class `CECTag' does not have any field named `m_dynamic'
ECPacket.cpp:149: error: `GetHash' undeclared (first use this function)
ECPacket.cpp:165: error: parse error before `&' token
ECPacket.cpp:168: error: `buf' undeclared (first use this function)
ECPacket.cpp:168: confused by earlier errors, bailing out
make[5]: *** [libec_noevt_a-ECPacket.o] Error 1
make[5]: Leaving directory `/home/utente-web/amule-cvs/src/libs/ec'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/utente-web/amule-cvs/src/libs/ec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/utente-web/amule-cvs/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/utente-web/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/utente-web/amule-cvs'
make: *** [all] Error 2

I have my wx header files in /usr/include/wx-2.6/wx/ ... could it be a problem?
Logged

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #7 on: November 17, 2005, 09:17:26 AM »

I've tried an

ln -s /usr/include/wx-2.6/wx/ /usr/include/wx/

but this time it gives another error:

Code: [Select]
~/amule-cvs $ make
make  all-recursive
make[1]: Entering directory `/home/utente-web/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/utente-web/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/utente-web/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/home/utente-web/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/home/utente-web/amule-cvs/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/utente-web/amule-cvs/docs/man'
make[3]: Entering directory `/home/utente-web/amule-cvs/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/utente-web/amule-cvs/docs'
make[2]: Leaving directory `/home/utente-web/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/utente-web/amule-cvs/src'
Making all in libs
make[3]: Entering directory `/home/utente-web/amule-cvs/src/libs'
Making all in ec
make[4]: Entering directory `/home/utente-web/amule-cvs/src/libs/ec'
make  all-am
make[5]: Entering directory `/home/utente-web/amule-cvs/src/libs/ec'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..     -I../../../src -I../../../src/libs -DECSOCKET_USE_EVENTS=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -MT libec_noevt_a-ECPacket.o -MD -MP -MF ".deps/libec_noevt_a-ECPacket.Tpo" -c -o libec_noevt_a-ECPacket.o `test -f 'ECPacket.cpp' || echo './'`ECPacket.cpp; \
then mv -f ".deps/libec_noevt_a-ECPacket.Tpo" ".deps/libec_noevt_a-ECPacket.Po"; else rm -f ".deps/libec_noevt_a-ECPacket.Tpo"; exit 1; fi
In file included from /usr/include/wx/defs.h:21,
                 from /usr/include/wx/string.h:25,
                 from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx/platform.h:190:22: wx/setup.h: No such file or directory
In file included from /usr/include/wx/platform.h:258,
                 from /usr/include/wx/defs.h:21,
                 from /usr/include/wx/string.h:25,
                 from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx/chkconf.h:84:9: #error "wxUSE_DYNLIB_CLASS must be defined."
/usr/include/wx/chkconf.h:92:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/include/wx/chkconf.h:100:9: #error "wxUSE_FILESYSTEM must be defined."
/usr/include/wx/chkconf.h:113:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
/usr/include/wx/chkconf.h:121:9: #error "wxUSE_LOG must be defined."
/usr/include/wx/chkconf.h:129:9: #error "wxUSE_LONGLONG must be defined."
/usr/include/wx/chkconf.h:137:9: #error "wxUSE_MIMETYPE must be defined."
/usr/include/wx/chkconf.h:145:9: #error "wxUSE_ON_FATAL_EXCEPTION must be defined."
/usr/include/wx/chkconf.h:153:9: #error "wxUSE_PROTOCOL must be defined."
/usr/include/wx/chkconf.h:195:9: #error "wxUSE_REGEX must be defined."
/usr/include/wx/chkconf.h:203:9: #error "wxUSE_STDPATHS must be defined."
/usr/include/wx/chkconf.h:211:9: #error "wxUSE_XML must be defined."
/usr/include/wx/chkconf.h:219:9: #error "wxUSE_SOCKETS must be defined."
/usr/include/wx/chkconf.h:227:9: #error "wxUSE_STREAMS must be defined."
/usr/include/wx/chkconf.h:235:9: #error "wxUSE_STOPWATCH must be defined."
/usr/include/wx/chkconf.h:243:9: #error "wxUSE_TEXTBUFFER must be defined."
/usr/include/wx/chkconf.h:251:9: #error "wxUSE_TEXTFILE must be defined."
/usr/include/wx/chkconf.h:267:9: #error "wxUSE_URL must be defined."
/usr/include/wx/chkconf.h:285:9: #error "wxUSE_ACCEL must be defined."
/usr/include/wx/chkconf.h:293:9: #error "wxUSE_BMPBUTTON must be defined."
/usr/include/wx/chkconf.h:301:9: #error "wxUSE_BUTTON must be defined."
/usr/include/wx/chkconf.h:309:9: #error "wxUSE_CALENDARCTRL must be defined."
/usr/include/wx/chkconf.h:317:9: #error "wxUSE_CARET must be defined."
/usr/include/wx/chkconf.h:325:9: #error "wxUSE_CHECKBOX must be defined."
/usr/include/wx/chkconf.h:333:9: #error "wxUSE_CHECKLISTBOX must be defined."
/usr/include/wx/chkconf.h:341:9: #error "wxUSE_CHOICE must be defined."
/usr/include/wx/chkconf.h:349:9: #error "wxUSE_CHOICEBOOK must be defined."
/usr/include/wx/chkconf.h:357:9: #error "wxUSE_CHOICEDLG must be defined."
/usr/include/wx/chkconf.h:365:9: #error "wxUSE_CLIPBOARD must be defined."
/usr/include/wx/chkconf.h:373:9: #error "wxUSE_COLOURDLG must be defined."
/usr/include/wx/chkconf.h:381:9: #error "wxUSE_COMBOBOX must be defined."
/usr/include/wx/chkconf.h:389:9: #error "wxUSE_DATAOBJ must be defined."
/usr/include/wx/chkconf.h:397:9: #error "wxUSE_DATEPICKCTRL must be defined."
/usr/include/wx/chkconf.h:405:9: #error "wxUSE_DISPLAY must be defined."
/usr/include/wx/chkconf.h:413:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
/usr/include/wx/chkconf.h:421:9: #error "wxUSE_FILEDLG must be defined."
/usr/include/wx/chkconf.h:429:9: #error "wxUSE_FONTDLG must be defined."
/usr/include/wx/chkconf.h:437:9: #error "wxUSE_FONTMAP must be defined."
/usr/include/wx/chkconf.h:445:9: #error "wxUSE_GAUGE must be defined."
/usr/include/wx/chkconf.h:453:9: #error "wxUSE_GRID must be defined."
/usr/include/wx/chkconf.h:461:9: #error "wxUSE_HELP must be defined."
/usr/include/wx/chkconf.h:469:9: #error "wxUSE_HTML must be defined."
/usr/include/wx/chkconf.h:477:9: #error "wxUSE_XRC must be defined."
/usr/include/wx/chkconf.h:498:9: #error "wxUSE_ICO_CUR must be defined."
/usr/include/wx/chkconf.h:506:9: #error "wxUSE_IFF must be defined."
/usr/include/wx/chkconf.h:514:9: #error "wxUSE_IMAGLIST must be defined."
/usr/include/wx/chkconf.h:522:9: #error "wxUSE_JOYSTICK must be defined."
/usr/include/wx/chkconf.h:530:9: #error "wxUSE_LISTBOOK must be defined."
/usr/include/wx/chkconf.h:538:9: #error "wxUSE_LISTBOX must be defined."
/usr/include/wx/chkconf.h:546:9: #error "wxUSE_LISTCTRL must be defined."
/usr/include/wx/chkconf.h:554:9: #error "wxUSE_LOGGUI must be defined."
/usr/include/wx/chkconf.h:562:9: #error "wxUSE_LOGWINDOW must be defined."
/usr/include/wx/chkconf.h:570:9: #error "wxUSE_LOG_DIALOG must be defined."
/usr/include/wx/chkconf.h:578:9: #error "wxUSE_MDI must be defined."
/usr/include/wx/chkconf.h:586:9: #error "wxUSE_MDI_ARCHITECTURE must be defined."
/usr/include/wx/chkconf.h:594:9: #error "wxUSE_MENUS must be defined."
/usr/include/wx/chkconf.h:602:9: #error "wxUSE_MSGDLG must be defined."
/usr/include/wx/chkconf.h:610:9: #error "wxUSE_NOTEBOOK must be defined."
/usr/include/wx/chkconf.h:618:9: #error "wxUSE_PALETTE must be defined."
/usr/include/wx/chkconf.h:626:9: #error "wxUSE_POPUPWIN must be defined."
/usr/include/wx/chkconf.h:634:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
/usr/include/wx/chkconf.h:642:9: #error "wxUSE_RADIOBOX must be defined."
/usr/include/wx/chkconf.h:650:9: #error "wxUSE_RADIOBTN must be defined."
/usr/include/wx/chkconf.h:658:9: #error "wxUSE_SASH must be defined."
/usr/include/wx/chkconf.h:666:9: #error "wxUSE_SCROLLBAR must be defined."
/usr/include/wx/chkconf.h:674:9: #error "wxUSE_SLIDER must be defined."
/usr/include/wx/chkconf.h:682:9: #error "wxUSE_SOUND must be defined."
/usr/include/wx/chkconf.h:690:9: #error "wxUSE_SPINBTN must be defined."
/usr/include/wx/chkconf.h:698:9: #error "wxUSE_SPINCTRL must be defined."
/usr/include/wx/chkconf.h:706:9: #error "wxUSE_SPLASH must be defined."
/usr/include/wx/chkconf.h:714:9: #error "wxUSE_SPLITTER must be defined."
/usr/include/wx/chkconf.h:722:9: #error "wxUSE_STATBMP must be defined."
/usr/include/wx/chkconf.h:730:9: #error "wxUSE_STATBOX must be defined."
/usr/include/wx/chkconf.h:738:9: #error "wxUSE_STATLINE must be defined."
/usr/include/wx/chkconf.h:746:9: #error "wxUSE_STATTEXT must be defined."
/usr/include/wx/chkconf.h:754:9: #error "wxUSE_STATUSBAR must be defined."
/usr/include/wx/chkconf.h:762:9: #error "wxUSE_TAB_DIALOG must be defined."
/usr/include/wx/chkconf.h:770:9: #error "wxUSE_TEXTCTRL must be defined."
/usr/include/wx/chkconf.h:778:9: #error "wxUSE_TIPWINDOW must be defined."
/usr/include/wx/chkconf.h:786:9: #error "wxUSE_TOOLBAR must be defined."
/usr/include/wx/chkconf.h:794:9: #error "wxUSE_TOOLTIPS must be defined."
/usr/include/wx/chkconf.h:802:9: #error "wxUSE_TREECTRL must be defined."
/usr/include/wx/chkconf.h:810:9: #error "wxUSE_VALIDATORS must be defined."
/usr/include/wx/chkconf.h:818:9: #error "wxUSE_WXHTML_HELP must be defined."
/usr/include/wx/chkconf.h:1543:9: #error "wxMessageBox is always needed"
In file included from /usr/include/wx/string.h:25,
                 from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx/defs.h:41:13: #error "No Target! You should use wx-config program for compilation flags!"
In file included from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx/string.h:158:4: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx/string.h:772: error: `wxChar& wxString::operator[](unsigned int)' and `wxChar& wxString::operator[](unsigned int)' cannot be overloaded
In file included from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/libs/common/StringFunctions.h:78: error: syntax error before `(' token
../../../src/libs/common/StringFunctions.h: In function `const wxChar* unicode2char(const wxChar*)':
../../../src/libs/common/StringFunctions.h:80: error: `aMuleConv' undeclared (first use this function)
../../../src/libs/common/StringFunctions.h:80: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from ECPacket.cpp:25:
ECPacket.h: In member function `wxString CECTag::GetStringData() const':
ECPacket.h:129: error: `cMB2WC' undeclared (first use this function)
In file included from ECPacket.cpp:26:
ECSocket.h: At global scope:
ECSocket.h:63: error: parse error before `{' token
ECSocket.h:65: error: `friend' can only be specified inside a class
ECSocket.h:66: error: `friend' can only be specified inside a class
ECSocket.h:68: error: parse error before `public'
ECSocket.h:70: error: destructors must be member functions
ECSocket.h:70: error: virtual outside class declaration
ECSocket.h: In function `bool WaitOnConnect(long int, long int)':
ECSocket.h:76: error: `wxSocketClient' undeclared (first use this function)
ECSocket.h:76: error: parse error before `::' token
ECSocket.h:75: warning: unused parameter `long int seconds'
ECSocket.h:75: warning: unused parameter `long int milliseconds'
ECSocket.h: At global scope:
ECSocket.h:80: error: parse error before `return'
ECSocket.h: In function `bool Close()':
ECSocket.h:92: error: `OnClose' undeclared (first use this function)
ECSocket.h:93: error: parse error before `::' token
ECSocket.h: In function `bool IsDestroying()':
ECSocket.h:116: error: `m_destroying' undeclared (first use this function)
ECSocket.h: At global scope:
ECSocket.h:179: error: parse error before `)' token
ECSocket.h:187: error: `wxSocketError' was not declared in this scope
ECSocket.h:187: error: parse error before `)' token
ECSocket.h:196: error: virtual outside class declaration
ECSocket.h:207: error: virtual outside class declaration
ECSocket.h:215: error: virtual outside class declaration
ECSocket.h: In function `void OnClose()':
ECSocket.h:215: error: `void OnClose()' used prior to declaration
ECSocket.h: At global scope:
ECSocket.h:225: error: virtual outside class declaration
ECSocket.h:227: error: parse error before `private'
ECSocket.h:258: error: 'wxSocketError' is used as a type, but is not defined as a type.
ECSocket.h:259: error: `bool m_destroying' used prior to declaration
ECSocket.h:311: error: parse error before `}' token
ECPacket.cpp: In constructor `CECTag::CECTag(short unsigned int, const wxString&)':
ECPacket.cpp:167: error: `wc_str' undeclared (first use this function)
ECPacket.cpp:167: error: `cWC2MB' undeclared (first use this function)
ECPacket.cpp: In constructor `CECTag::CECTag(short unsigned int, double)':
ECPacket.cpp:320: error: `wc_str' undeclared (first use this function)
ECPacket.cpp:320: error: `cWC2MB' undeclared (first use this function)
ECPacket.cpp: At global scope:
ECPacket.cpp:430: error: parse error before `&' token
ECPacket.cpp:433: error: `ec_tagname_t CECTag::tmp_tagName' is not a static member of `class CECTag'
ECPacket.cpp:435: error: ISO C++ forbids declaration of `m_tagData' with no type
ECPacket.cpp:435: error: `int CECTag::m_tagData' is not a static member of `class CECTag'
ECPacket.cpp:435: warning: converting to non-pointer type `int' from NULL
ECPacket.cpp:436: error: ISO C++ forbids declaration of `m_dataLen' with no type
ECPacket.cpp:436: error: `int CECTag::m_dataLen' is not a static member of `class CECTag'
ECPacket.cpp:437: error: parse error before `if'
ECPacket.cpp:439: error: ISO C++ forbids declaration of `m_tagName' with no type
ECPacket.cpp:439: error: `int CECTag::m_tagName' is not a static member of `class CECTag'
ECPacket.cpp:440: error: parse error before `return'
ECPacket.cpp:442: error: ISO C++ forbids declaration of `m_tagName' with no type
ECPacket.cpp:442: error: `int CECTag::m_tagName' is not a static member of `class CECTag'
ECPacket.cpp:442: error: `tmp_tagName' was not declared in this scope
ECPacket.cpp:443: error: parse error before `if'
ECPacket.cpp:452: error: ISO C++ forbids declaration of `m_dataLen' with no type
ECPacket.cpp:452: error: `int CECTag::m_dataLen' is not a static member of `class CECTag'
ECPacket.cpp:452: error: `tagLen' was not declared in this scope
ECPacket.cpp:452: error: cannot call member function `uint32 CECTag::GetTagLen() const' without object
ECPacket.cpp:453: error: parse error before `if'
ECPacket.cpp:467: error: ISO C++ forbids declaration of `m_error' with no type
ECPacket.cpp:467: error: `int CECTag::m_error' is not a static member of `class CECTag'
ECPacket.cpp:468: error: parse error before `}' token
ECPacket.cpp:471: error: `socket' was not declared in this scope
ECPacket.cpp:472: error: `bool CECTag::WriteTag' is not a static member of `class CECTag'
ECPacket.cpp:472: error: syntax error before `{' token
ECPacket.cpp:474: error: `ec_tagname_t CECTag::tmp_tagName' is not a static member of `class CECTag'
ECPacket.cpp:474: error: invalid use of member `CECTag::m_tagName'
ECPacket.cpp:474: error: invalid use of member `CECTag::m_tagList'
ECPacket.cpp:476: error: parse error before `if'
ECPacket.cpp:490: error: `socket' was not declared in this scope
ECPacket.cpp:491: error: `bool CECTag::ReadChildren' is not a static member of `class CECTag'
ECPacket.cpp:491: error: syntax error before `{' token
ECPacket.cpp:499: error: syntax error before `.' token
ECPacket.cpp:502: error: `tmp_tagCount' was not declared in this scope
ECPacket.cpp:502: error: parse error before `;' token
ECPacket.cpp:502: error: syntax error before `++' token
ECPacket.cpp:507: error: syntax error before `.' token
ECPacket.cpp:517: error: `socket' was not declared in this scope
ECPacket.cpp:518: error: `bool CECTag::WriteChildren' is not a static member of `class CECTag'
ECPacket.cpp:518: error: syntax error before `{' token
ECPacket.cpp:522: error: invalid use of member `CECTag::m_tagList'
ECPacket.cpp:522: error: parse error before `;' token
ECPacket.cpp:522: error: syntax error before `++' token
ECPacket.cpp:761: error: parse error before `&' token
ECPacket.cpp:768: error: `socket' was not declared in this scope
ECPacket.cpp:768: error: ISO C++ forbids declaration of `ReadChildren' with no type
ECPacket.cpp:768: error: `int CECPacket::ReadChildren' is not a static member of `class CECPacket'
ECPacket.cpp:769: error: parse error before `}' token
ECPacket.cpp:772: error: `socket' was not declared in this scope
ECPacket.cpp:773: error: `bool CECPacket::WritePacket' is not a static member of `class CECPacket'
ECPacket.cpp:773: error: syntax error before `{' token
make[5]: *** [libec_noevt_a-ECPacket.o] Error 1
make[5]: Leaving directory `/home/utente-web/amule-cvs/src/libs/ec'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/utente-web/amule-cvs/src/libs/ec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/utente-web/amule-cvs/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/utente-web/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/utente-web/amule-cvs'
make: *** [all] Error 2
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #8 on: November 17, 2005, 11:39:55 AM »

I didn't have time to do it yesterday. tomorrow will be ok..
Logged

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #9 on: November 17, 2005, 12:26:01 PM »

Today's (17 November) CVS worked for me!
I enabled the remote gui this time.. Does it make a diffrence?
But amuled ists taking abut 2 minutes to star on a 600MHz CPU using 80 - 100% of it.. Known bug?
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #10 on: November 17, 2005, 07:16:34 PM »

I found that starting the daemon on my machine (450 MHz PIII with 192 MB RAM) took up to 5 minutes. I tracked it down to having over 3500 servers in it's list. Most of them with status "failed", but it still tries some before connecting and moving on.

Now that I have cleared out the server list to a few, it starts in a few seconds, only slowed down by the downloading of an IP filter file.
Logged
A waste is a terrible thing to mind.

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #11 on: November 18, 2005, 10:50:06 AM »

OK, I've tried today's CVS and the wx problem seems to be solved... but now it gives another error:

Code: [Select]
rm -f libmuleappcommon.a
ar cru libmuleappcommon.a libmuleappcommon_a-CFile.o libmuleappcommon_a-DataToText.o libmuleappcommon_a-ED2KLink.o libmuleappcommon_a-FileFunctions.o libmuleappcommon_a-MemFile.o libmuleappcommon_a-NetworkFunctions.o libmuleappcommon_a-Packet.o libmuleappcommon_a-RLE.o libmuleappcommon_a-SafeFile.o libmuleappcommon_a-SHA.o libmuleappcommon_a-Tag.o libmuleappcommon_a-UInt128.o
ranlib libmuleappcommon.a
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr//lib/wx/include/base-ansi-release-2.6 -I/usr//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 -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -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:234: error: `wxTimerEvent' was not declared in this scope
amule.h:234: error: `evt' was not declared in this scope
amule.h:234: error: invalid data member initialization
amule.h:234: error: (use `=' to initialize static data members)
amule.h:234: error: variable or field `OnTCPTimer' declared void
amule.h:236: error: `wxTimerEvent' was not declared in this scope
amule.h:236: error: `evt' was not declared in this scope
amule.h:236: error: invalid data member initialization
amule.h:236: error: variable or field `OnCoreTimer' declared void
amule.h:275: error: syntax error before `*' token
amule.h:315: error: `wxCloseEvent' was not declared in this scope
amule.h:315: error: `evt' was not declared in this scope
amule.h:315: error: invalid data member initialization
amule.h:315: error: variable or field `ShutDown' declared void
make[3]: *** [libmuleappcore_a-AsyncDNS.o] Error 1
make[3]: Leaving directory `/home/utente-web/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/utente-web/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/utente-web/amule-cvs'
make: *** [all] Error 2
Logged

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #12 on: November 18, 2005, 05:41:13 PM »

Hi!

@Karhandras
This is the same error I got after hotfixing the wxBase-Problems temporarily on my machine. See this thread. The test was with CVS 2005-11-15.
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: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #13 on: November 20, 2005, 12:06:56 PM »

Problem is solved for me with CVS 2005-11-20.
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.0.3 detects Wx and complies but aMule CVS doesn't
« Reply #14 on: November 20, 2005, 11:29:37 PM »

Because I fixed it. Thanks for testing.
Logged
Pages: [1] 2