[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] can't crosscompile insmod.c?
From:       Erik Andersen <andersen () lineo ! com>
Date:       2001-01-31 6:15:24
[Download RAW message or body]

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@lineo.com
--This message was written using 73% post-consumer electrons--



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic