[BusyBox] Busybox Cross Compilation Problem

Prabhakar Kalasani prabhakar_kalasani at lycos.com
Mon Oct 20 12:34:31 UTC 2003


Hi,

I'm using Busybox-0.6.1, and mips-linux-gcc toolchain downloaded from www.linux-mips.org.

I'm unable to understand why i'm getting errors when i'm compiling Bysybox like

stdio.h : no such file or directory
stat.h : no such file or directory
types.h : no such file or directory
netdb.h : no such file or directory
features.h : no such file or directory

where i can comiple the kernel source with same toolchain , why can't bysybox.

Please help me somebody,

Prabhakar Kalasani



--------- Original Message ---------

DATE: Thu, 16 Oct 2003 13:56:52
From: "David Douglas" <ddouglas at Crossroads.com>
To: <prabhakar_kalasani at lycos.com>
Cc: 

>Are you using the new busybox (1.0) or the older busybox?  I'm using the
>1.0 version on my big endian mips (mips-linux-) and (mips64-linux-gnu-)
>
>Thanks,
>David
>
>
>-----Original Message-----
>From: Prabhakar Kalasani [mailto:prabhakar_kalasani at lycos.com] 
>Sent: Thursday, October 16, 2003 9:16 AM
>To: busybox at mail.busybox.net
>Subject: [BusyBox] Busybox Cross Compilation Problem
>
>
>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.i3
>86.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/3079
>82/307982
>_______________________________________________
>busybox mailing list
>busybox at mail.busybox.net
>http://busybox.net/mailman/listinfo/busybox
>



____________________________________________________________
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