Makis Livadas

ltib - fails to build Busybox in Ubuntu 12.04

Discussion created by Makis Livadas on Mar 16, 2013
Latest reply on Mar 20, 2014 by Stephen Dickey

ltib is latest downloaded from freescale : L3.0.35_1.1.0_121218_source.tar.gz

Applied all the necessary patches for the build to work on ubuntu 12.04 and ltib builds well past the blue configuration screen.

However when trying to build the busybox it fails with a linker problem.

It appears the build script is not finding necessary libraries:

 

 

the linker error script is as follows:

 

==========

/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find /lib/libc.so.6

/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find /usr/lib/libc_nonshared.a

/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find /lib/ld-linux.so.3

collect2: ld returned 1 exit status

 

 

RPM build errors:

Build time for busybox: 5 seconds

 

 

Started: Sat Mar 16 20:00:41 2013

Ended:   Sat Mar 16 20:00:47 2013

Elapsed: 6 seconds

 

These packages failed to build:

busybox

 

========================


Any advice will be appreciated

 

 



Outcomes