[BusyBox] Compiling With NEWLIB

niki niki-st at prosyst.bg
Thu Oct 5 11:10:54 UTC 2000


Hi, 
Is there anyone who can help me to compile BusyBox with NewLib. I am using cross gcc to compile busybox to PowerPC arch. I have compiled NewLib, GCC and BinUtils for cross compiling. I've already compiled a kernel for PowerPC and now I have to compile BusyBox with the cross compiler. I tried but the following error occure:

powerpc-linux-gnu-gcc -Wall -g -D_GNU_SOURCE -DBB_VER='"0.47"' -DBB_BT='"2000.10.05-17:11+0000"'   -c -o ar.o ar.c
In file included from ar.c:38:
busybox.h:40: mntent.h: No such file or directory
busybox.h:41: regex.h: No such file or directory
busybox.h:43: sys/syscall.h: No such file or directory
busybox.h:44: linux/unistd.h: No such file or directory
busybox.h:461: warning: `NBBY' redefined
/cross/lib/gcc-lib/powerpc-linux-gnu/2.95.2/../../../../powerpc-linux-gnu/sys-include/sys/types.h:139: warning: this is the location of the previous definition
make: *** [ar.o] Error 1

I can't see linux/unistd.h in newlib and when I try to compile this with /usr/include another error occure.

I'll be very thankful if someone help me.

Regards
Niki

Linux The Choice Of The GNU Generation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20001005/b9c73305/attachment-0001.htm 


More information about the busybox mailing list