Problem cross-compiling buysbox-1.5.1 for PPC architecture
Mike Frysinger
vapier at gentoo.org
Thu May 24 19:37:08 UTC 2007
On Thursday 24 May 2007, Sasvata Chatterjee wrote:
> gcc-2.95-3
generally this version is too old to be worth the time ...
> 1) ULLONG_MAX not defined (which I fixed by #define ULLONG_MAX
> ULONG_LONG_MAX in include/libbb.h). Similar for LLONG_MAX and LLONG_MIN.
this is usually because your cross-compiler is broken ... if '#include
<limits.h>' does not define those things, go fix your cross-compiler
> 2) Needed to take out -static-libgcc from Makefile.flags to avoid
> compile-time warnings for gcc
gcc-2.x is too old, upgrade
> 3) A warning on the union inside len_and_sockaddr structure:
> include/libbb.h:304: warning: unnamed struct/union that defines no
> instances
gcc-2.x is too old, upgrade
> 4) The biggie, cannot compile libbb/xatonum.c:
> CC libbb/xatonum.o
> powerpc-603e-linux-gnu-gcc: unrecognized option `-static-libgcc'
> In file included from libbb/xatonum.c:21:
> libbb/xatonum_template.c:88: macro `xstrtou' used with too many (2) args
> libbb/xatonum_template.c:114: macro `xatou' used without args
> libbb/xatonum_template.c:172: macro `xato' used without args
gcc-2.x is too old, upgrade
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070524/2307ee0c/attachment-0002.pgp
More information about the busybox
mailing list