aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: latest (14-3-04) cvs...  (Read 6754 times)

Sarge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
latest (14-3-04) cvs...
« on: March 14, 2004, 07:45:15 PM »

Hi!

Thanks for fixing the endian.h! Now we got an endianfix.h hehe.

Unfortunatly, compiling exits with

Quote
ECSocket.h:34: error: candidates are: virtual ECSocket& ECSocket::Read(uint8&)
ECSocket.h:35: error:                 virtual ECSocket& ECSocket::Read(uint16&)
ECSocket.h:36: error:                 virtual ECSocket& ECSocket::Read(uint32&)
ECSocket.h:37: error:                 virtual ECSocket& ECSocket::Read(uint64&)
ECSocket.h:38: error:                 virtual ECSocket&
   ECSocket::Read(wxString&)
ECSocket.cpp: In member function `virtual ECSocket& ECSocket::Read(uint64&)':
ECSocket.cpp:75: error: `wxUINT64_FROM_LE' undeclared (first use this function)
ECSocket.cpp:75: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[2]: *** [amule-ECSocket.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

configured without amulecmd, but that makes zero difference, since I get the same error with standart config.

Thanks for your work!

Cheers, Sarge
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: latest (14-3-04) cvs...
« Reply #1 on: March 16, 2004, 02:16:42 PM »

hum. seem wx don't have the endian swap fuctions for int64 on Mac.

I'll take a look at it and update asap.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: latest (14-3-04) cvs...
« Reply #2 on: March 17, 2004, 07:01:35 PM »

Fixed.
Logged

Sarge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: latest (14-3-04) cvs...
« Reply #3 on: March 17, 2004, 08:29:02 PM »

Sorry, but the bug is not completely dead...

Thanks! Sarge


Quote
In file included from TextClient.cpp:41:
endianfix.h:35:10: warning: #warning BIG ENDIAN BOX
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/sw/lib/wx/include/gtkd-2.4 -I/sw/include -D__WXDEBUG__ -D__WXGTK__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include  -g   -MT amulecmd-MD5Sum.o -MD -MP -MF ".deps/amulecmd-MD5Sum.Tpo" \
  -c -o amulecmd-MD5Sum.o `test -f 'MD5Sum.cpp' || echo './'`MD5Sum.cpp; \
then mv -f ".deps/amulecmd-MD5Sum.Tpo" ".deps/amulecmd-MD5Sum.Po"; \
else rm -f ".deps/amulecmd-MD5Sum.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/sw/lib/wx/include/gtkd-2.4 -I/sw/include -D__WXDEBUG__ -D__WXGTK__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include  -g   -MT amulecmd-ECSocket.o -MD -MP -MF ".deps/amulecmd-ECSocket.Tpo" \
  -c -o amulecmd-ECSocket.o `test -f 'ECSocket.cpp' || echo './'`ECSocket.cpp; \
then mv -f ".deps/amulecmd-ECSocket.Tpo" ".deps/amulecmd-ECSocket.Po"; \
else rm -f ".deps/amulecmd-ECSocket.Tpo"; exit 1; \
fi
In file included from ECSocket.cpp:22:
endianfix.h:35:10: warning: #warning BIG ENDIAN BOX
ECSocket.cpp: In member function `virtual ECSocket& ECSocket::Read(uint64&)':
ECSocket.cpp:76: error: `wxUINT64_FROM_LE' undeclared (first use this function)
ECSocket.cpp:76: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[2]: *** [amulecmd-ECSocket.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
« Last Edit: March 17, 2004, 08:30:44 PM by Sarge »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: latest (14-3-04) cvs...
« Reply #4 on: March 17, 2004, 08:52:06 PM »

you're using wxGTK instead of wxMAC?
Logged

Sarge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: latest (14-3-04) cvs...
« Reply #5 on: March 18, 2004, 07:04:09 PM »

Yep, just as stated in the readme file.

I gonna try wxmac as soon as possible.

Thanks a lot, Sarge
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: latest (14-3-04) cvs...
« Reply #6 on: March 18, 2004, 07:14:10 PM »

i guess we need a macme now ;)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: latest (14-3-04) cvs...
« Reply #7 on: March 18, 2004, 11:22:22 PM »

lol, we need to change the README for sure.
Logged