Albert Albert

ltib fail to build due to missing config files

Discussion created by Albert Albert on Nov 10, 2011
Latest reply on Nov 11, 2011 by KrishnaPavan

Hi imx experts,


I downloaded L2.6.35_11.09.01_ER_source_bundle.tar.gz and tried to build the Ubuntu system which is running on quickboard from source code. My host PC is using Ubuntu 10.04. I have problems getting ltib to build successfully.

I managed to run ./ltib --configure successfully and saw a blue configuration screen appearing. After making the configuration, run ./ltib and there were some build error. From error message below, it seems that mx53_loco_config is not present. 


Below are the error messages.



wts@wts-desktop:/media/YWK/MX53Source/ltib$ ./ltib

Processing platform: Freescale iMX5x Based Boards
using config/platform/imx/.config

Processing: fake-provides

Processing: u-boot
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package

Processing: u-boot
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /media/YWK/MX53Source/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /media/YWK/MX53Source/ltib/rpm' --define '_prefix /usr' --define '_tmppath /media/YWK/MX53Source/ltib/tmp' --define '_rpmdir /media/YWK/MX53Source/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /media/YWK/MX53Source/ltib/tmp/u-boot.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /media/YWK/MX53Source/ltib/tmp/rpm-tmp.47420
+ umask 022
+ cd /media/YWK/MX53Source/ltib/rpm/BUILD
+ cd u-boot-2009.08
+ : mx53_loco_config
++ eval echo
+++ echo
+ SRC_DIR=/media/YWK/MX53Source/ltib/rpm/BUILD/u-boot-2009.08
+ BUILD_DIR=/media/YWK/MX53Source/ltib/rpm/BUILD/u-boot-2009.08
+ '[' /media/YWK/MX53Source/ltib/rpm/BUILD/u-boot-2009.08 '!=' /media/YWK/MX53Source/ltib/rpm/BUILD/u-boot-2009.08 ']'
+ cd /media/YWK/MX53Source/ltib/rpm/BUILD/u-boot-2009.08
+ '[' -n '' ']'
+ make 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/' CROSS_COMPILE=arm-none-linux-gnueabi- O=/media/YWK/MX53Source/ltib/rpm/BUILD/u-boot-2009.08 mx53_loco_config
make: *** No rule to make target `mx53_loco_config'.  Stop.
error: Bad exit status from /media/YWK/MX53Source/ltib/tmp/rpm-tmp.47420 (%build)

RPM build errors:
    Bad exit status from /media/YWK/MX53Source/ltib/tmp/rpm-tmp.47420 (%build)
Build time for u-boot: 1 seconds

Failed building u-boot

f_buildrpms() returned an error, exiting

Started: Thu Nov 10 17:26:20 2011
Ended:   Thu Nov 10 17:26:36 2011
Elapsed: 16 seconds

These packages failed to build:

Build Failed