AnsweredAssumed Answered

LTIB on Ubuntu 13.04

Question asked by xuankong on May 30, 2013
Latest reply on Jan 22, 2014 by Wilson Hung

I am trying to install LTIB for my I.MX6 SoloLite board. I have installed the dependencies and patched LTIB. I am stuck when booting the kernel. Please help me to solve the problem.

After LTIB is configured, I builded the kernel for iMX6 board. I typed the following command in terminal.

~/Documents/imx6install/ltib$ ./ltib

Then I get this error at the end.

gnueabi/bin/ld: cannot find /lib/
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
error: Bad exit status from /home/xuan/Documents/imx6install/ltib/tmp/rpm-tmp.35506 (%build)

RPM build errors:
Bad exit status from /home/xuan/Documents/imx6install/ltib/tmp/rpm-tmp.35506 (%build)
Build time for busybox: 5 seconds

Failed building busybox

f_buildrpms() returned an error, exiting

Started: Wed May 29 23:47:56 2013
Ended: Wed May 29 23:48:01 2013
Elapsed: 5 seconds

These packages failed to build:

Build Failed

Exiting on error or interrupt

I noticed someone uploaded a similar problem. I tried this solution (listed below) but the error was still there.


Failed solution:

Go into ltib/dist/lfs/base_libs/base_libs.spec and find these lines:

# remove absolute paths from text search files (if they exist)

perl -w -e '

@ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

exit(0) unless @ARGV;

Remove the last two (the lines beginning with "@ARGV" and "exit(0)" and you should be good to go.

Any solutions?