aMule Forum

English => Multiplatform => Mac OSX => Topic started by: Sarge on March 14, 2004, 07:45:15 PM

Title: latest (14-3-04) cvs...
Post by: Sarge 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
Title: Re: latest (14-3-04) cvs...
Post by: Kry 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.
Title: Re: latest (14-3-04) cvs...
Post by: Kry on March 17, 2004, 07:01:35 PM
Fixed.
Title: Re: latest (14-3-04) cvs...
Post by: Sarge 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
Title: Re: latest (14-3-04) cvs...
Post by: Kry on March 17, 2004, 08:52:06 PM
you're using wxGTK instead of wxMAC?
Title: Re: latest (14-3-04) cvs...
Post by: Sarge 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
Title: Re: latest (14-3-04) cvs...
Post by: deltaHF on March 18, 2004, 07:14:10 PM
i guess we need a macme now ;)
Title: Re: latest (14-3-04) cvs...
Post by: Kry on March 18, 2004, 11:22:22 PM
lol, we need to change the README for sure.