[BusyBox] Busybox Cross Compilation Problem

Prabhakar Kalasani prabhakar_kalasani at lycos.com
Thu Oct 16 14:16:03 UTC 2003


Hi all,

I'm trying to compile Busybox for MIPS (Big Endian) Target,
I have down loaded pre built Toolchain for Big endial Target from
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/sdelinux-5.01-4eb.i386.rpm

And i installed the Toolchain successfully , and i compiled my kernel image.
Then i downloaded the Busybox source version busybox-0.60.5 from
http://www.busybox.net/downloads/

Then started compiling like.....

$ make CROSS=mips-linux-

mips-linux-gcc -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.5"' -DBB_BT='"2003.10.16-06:33+0000"' -I /home/kp/cogent/linux/include -DUSE_SYSTEM_PWD_GRP  -Ilibbb -c libbb/ask_confirmation.c -o libbb/ask_confirmation.o
libbb/ask_confirmation.c:24:18: stdio.h: No such file or directory
In file included from libbb/ask_confirmation.c:25:
libbb/libbb.h:23:18: stdio.h: No such file or directory
In file included from libbb/ask_confirmation.c:25:
libbb/libbb.h:25:21: sys/stat.h: No such file or directory
libbb/libbb.h:26:22: sys/types.h: No such file or directory
libbb/libbb.h:28:18: netdb.h: No such file or directory
In file included from busybox.h:27,
                 from libbb/libbb.h:31,
                 from libbb/ask_confirmation.c:25:
Config.h:423:21: features.h: No such file or directory
In file included from libbb/libbb.h:31,
                 from libbb/ask_confirmation.c:25:
busybox.h:29:18: stdio.h: No such file or directory
busybox.h:31:21: sys/stat.h: No such file or directory
busybox.h:32:22: sys/types.h: No such file or directory
busybox.h:40:21: features.h: No such file or directory
In file included from libbb/libbb.h:31,
                 from libbb/ask_confirmation.c:25:
busybox.h:107:23: sys/param.h: No such file or directory
In file included from libbb/ask_confirmation.c:25:
libbb/libbb.h:38:21: features.h: No such file or directory
make: *** [libbb/ask_confirmation.o] Error 1

I don't know why it's unable to find stdio.h ,stat.h , types.h etc...
Is my Toolchain is faulty, but my kernel is compiled with same toolchain.

What could be the problem ?
Is prebuilt binaries available for busybox (MIPS Big endian)

It could be a great help for me,
Thanks in advance
 
Prabhakar Kalasani




____________________________________________________________
Enter for a chance to win one year's supply of allergy relief!
http://r.hotbot.com/r/lmt_clrtn/http://mocda3.com/1/c/563632/125699/307982/307982



More information about the busybox mailing list