[BusyBox] Busybox Compilation Problem
Prabhakar Kalasani
prabhakar_kalasani at lycos.com
Mon Oct 20 15:00:03 UTC 2003
Hi,
When I'm cross compiling the Busybox-0.6.5, for mips-linux
I'm facing problem like...
[root at Linux5 busybox-0.60.5]# make
mips-linux-gcc -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.60.5"' -DBB_BT='"2003.10.20-14:58+0000"' -I /home/kp/cogent/linux/include -I /usr/include -DUSE_SYSTEM_PWD_GRP -Ilibbb -c libbb/interface.c -o libbb/interface.o
libbb/interface.c:1628: redefinition of 'ether_hwtype' breaks section-relative computations
make: *** [libbb/interface.o] Error 1
What could be the mistake,
Thanks in advance
Prabhakar Kalasani
--
--------- Original Message ---------
DATE: Mon, 20 Oct 2003 14:54:57
From: Ole-Egil Hvitmyren <oehvitmyren at network-electronics.com>
To: prabhakar_kalasani at lycos.com
Cc: busybox at mail.busybox.net
>Prabhakar Kalasani wrote:
>> 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.
>>
>
>Might it be that:
>
>The kernel is self-contained, it has all its own include files, and uses
>the flag -nostdinc (or whatever it's called). Busybox isn't, it uses the
>Linux/libc include files, so you'll need to point the toolchain to it
>properly?
>
>
____________________________________________________________
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