Busybox cross-compile for MIPS

Denys Vlasenko vda.linux at googlemail.com
Thu Sep 3 01:20:42 UTC 2009


On Wednesday 02 September 2009 14:15, DATACOM - Missae Sasaya wrote:
> You got it! It is working now. I just have to figure out what is missing...
> 
> Thanks!
> 
> Missae
> >> I am trying to cross-compile BusyBox for MIPS, using the attached 
> >> configuration file. The compilation seems to finish without any 
> >> problems, but when I try to run busybox in QEmu, I get the following error:
> >>
> >> //bin/sh: symbol lookup error: /bin/sh: undefined symbol: xatoull_sfx/
> >>     
> >
> > Does it work if you set CONFIG_STATIC=y in .config?
> >   
> >> I am using an old version of Busybox, because it was already used in 
> >> previous projects, so I do not have to go through the configuration 
> >> process again. I was planning to upgrade to a new version after I had 
> >> this one working.
> >>
> >> I am using the ELDK 4.0 toolchain.

This probably means that your toolchain's linker is broken.
It somehow excluded xatoull_sfx() from the binary in non-static build.
--
vda



More information about the busybox mailing list