Hey,

Putting the GUID debacle behind us.  Ahem.

I've been noticing this lately, so I ran build.sh for a 'clean' (un- 
fiddled with) version of GTKG, and got the same error.  Basically, the  
__powerpc__ token isn't defined on my machine.  I don't know when or  
how in the compile this is supposed to happen, nor how to track it  
down, but I suspect that (a) gcc-darwin uses a different token for the  
processor or (b) this breaks compiles which are optimized for a  
particular PPC chip.  [This last point just occurred to me.]

For myself, I just threw in
> #define __powerppc__
right before the IEEE 754 check, and everything worked fine.

The error text:
> In file included from ./lib/host_addr.h:42,
>                  from core/ban.h:40,
>                  from main.c:41:
> ./lib/endian.h:223:2: error: #error "This architecture may be  
> unsupported. float must use IEEE 754."
> In file included from ./core/rx.h:41,
>                  from ./if/core/downloads.h:34,
>                  from ./if/core/fileinfo.h:31,
>                  from core/share.h:49,
>                  from core/fileinfo.h:40,
>                  from core/downloads.h:43,
>                  from core/dmesh.h:40,
>                  from main.c:47:
> ./lib/pmsg.h: In function ‘pmsg_write_float_be’:
> ./lib/pmsg.h:392: warning: implicit declaration of function  
> ‘poke_float_be32’
> ./lib/pmsg.h:392: warning: assignment makes pointer from integer  
> without a cast
> make[2]: *** [main.o] Error 1
> make[1]: *** [subdirs] Error 1
> make: *** [all] Error 2

- Matt

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to