[BusyBox] can't crosscompile insmod.c?

Erik Andersen andersen at lineo.com
Wed Jan 31 06:15:24 UTC 2001


On Wed Jan 31, 2001 at 01:39:33PM +0800, xiang lee wrote:
> Dear all:
>   Can I build busybox-0.49 with mipsel-linux-gcc?
> I had got some other commands (ps, grep...),but
> when I compile insmod.c I get follow:
> >mipsel-linux-gcc -Wall -O2 -fomit-frame-pointer
> >-D_GNU_SOURCE -I- -I. -I.  -DBB_VER='"0.49"'
> >-DBB_BT='"2001.01.31-05:11+0000"' -msoft-float -c
> >insmod.c -o insmod.o
> >insmod.c:345: #error Sorry, but insmod.c does not yet
> >support this architecture...
> >make: *** [insmod.o] Error 1  
> Can I do something to fix it?

Yes.  The error message you see says:

    #error Sorry, but insmod.c does not yet support this architecture...

which means that busybox insmod.c does not currently support mips.
Someone, (maybe you?) must write the ELF file loading code for mips. 
The example code already present to support arm, x86, and sh should 
make the job much easier.


 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list