ltib fail to build due to missing config files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ltib fail to build due to missing config files

951 Views
Albert1z
Contributor II

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
+ PKG_U_BOOT_PATH_PRECONFIG=
+ 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
traceback:
 main:560


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

These packages failed to build:
u-boot

Build Failed

Labels (1)
Tags (2)
0 Kudos
3 Replies

665 Views
KrishnaPavan
Contributor II

When you are configuring using blue screen itself, you need to choose that option.

 

You have to choose a proper cross-compiler from the configuration palette it self.

I hope you got it.

 

Regards Krishna Pavan

0 Kudos

665 Views
Albert1z
Contributor II

Thank you for your reply. I did not specify which compiler to use. What I did was run ./ltib --configure. Fix the errors that appeared. Then, move on to the blue configuration screen and make the settings. Then, run ./ltib and I encountered the missing config errors.

 

Did I miss out anything? Do I need to provide the location of an arm cross-compiler or should it be taken care by the ltib script?

0 Kudos

665 Views
KrishnaPavan
Contributor II

Hi Albert,

 

Are you using an arm-cross-compiler... I guess there is a problem with that.

 

Regards  :::   Krishna Pavan

0 Kudos