configuration of BUSYBOX with cross mipsel-nec-elf

Adam Hawes adamh at adpro.com.au
Sun Aug 6 23:34:12 UTC 2006


> >>>>>
> /home/sanjib/Desktop/busybox-1.2.1/include/platform.h:85:23: error:
> byteswap.h: No such file or directory
> /home/sanjib/Desktop/busybox-1.2.1/include/platform.h:86:21: error:
> endian.h: No  such file or directory
> /home/sanjib/Desktop/busybox-1.2.1/include/platform.h:118:24: error:
> arpa/inet.h : No such file or directory
> >>>>>
> there are many other files not founding.beside this it is 
> another type of error
> >>>>>
> /usr/local/lib/gcc/mipsel-nec-elf/4.0.2/../../../../mipsel-nec
> -elf/include/sys/d
> irent.h:10:2: error: #error "<dirent.h> not supported"
> >>>>>
> this the syntactical error

Taking a wild stab in the dark here; mostly because I don't have
time to look into busybox and examine the files being reported...

This looks to me like your C library is improperly configured, or 
your compiler is broken.  

arpa/inet.h exists in glibc.  dirent.h is a fairly standard thing
and should be supported.  You should evisit your C library and 
compiler configuration.

Did you build the compiler and C library yourself?  If so, you 
might want to look into crosstool at www.kegel.com

> Now please provide a way to exit from such situation.

Pressing Ctrl-D on your terminal will exit the terminal. 
Pressing Ctrl-L on many unix terminals will clear the screen, 
thus hiding the error from you.

A



More information about the busybox mailing list