[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] imx21ads default build

From: George McBay
Subject: [Ltib] imx21ads default build
Date: Mon, 26 Mar 2012 20:43:32 -0700

I'm very new to ltib and attempting to make a default imx21ads build
on a Ubuntu 10.10 host.

The build seems to work well until it gets to the blob-imx21ads step,
wherein it fails complaining that /home/mx21/linux/linux isn't a sane
kernel source tree.  I'm not sure why it is even looking in that
directory for kernel source? (Again, I'm currently just trying to
build the default 2.4 based default kernel as a starting point here,
so I'm not doing anything to configure my own kernel or anything like

Any pointers as to what is happening here (end of log below)?

Thanks in advance.


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

Processing: blob-imx21ads
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/gfm/ltib/rootfs//var/lib/rpm --target arm
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu
arm' --define '__strip strip' --define '_topdir /home/gfm/ltib/rpm'
--define '_prefix /usr' --define '_tmppath /home/gfm/ltib/tmp'
--define '_rpmdir /home/gfm/ltib/rpm/RPMS'  --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
/var' -bc --short-circuit
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/gfm/ltib/tmp/rpm-tmp.24481
+ umask 022
+ cd /home/gfm/ltib/rpm/BUILD
+ cd blob-2.0.5-pre2
+ make
/bin/sh ./config.status --recheck
running /bin/sh ./configure
--with-board=m9328mx21ads_TO2 --enable-maintainer-mode --enable-md5
--enable-net --host=i386 arm-unknown-linux-gnu CC=arm-linux-gcc
build_alias=arm-unknown-linux-gnu host_alias=i386
target_alias=arm-unknown-linux-gnu  --no-create --no-recursion
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/gfm/ltib/rpm/BUILD/blob-2.0.5-pre2/tools/missing: Unknown `--run' option
Try `/home/gfm/ltib/rpm/BUILD/blob-2.0.5-pre2/tools/missing --help'
for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i386-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... arm-unknown-linux-gnu
checking host system type... i386-pc-none
checking for arm-linux-gcc... arm-linux-gcc
checking for arm-linux-objcopy... arm-linux-objcopy
checking for arm-linux-ranlib... arm-linux-ranlib
checking for arm-linux-ar... arm-linux-ar
checking for i386-gcc... (cached) arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc3
checking for i386-ranlib... (cached) arm-linux-ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking target board... "Freescale M9328MX21ADS i.MX21 TO2/TO3
Application Development System"
checking if the Linux source tree in /home/mx21/linux/linux is sane... no
configure: error: /home/mx21/linux/linux doesn't look like a
configured Linux source tree.
make: *** [config.status] Error 1
error: Bad exit status from /home/gfm/ltib/tmp/rpm-tmp.24481 (%build)

RPM build errors:
    Bad exit status from /home/gfm/ltib/tmp/rpm-tmp.24481 (%build)
Build time for blob-imx21ads: 2 seconds

Failed building blob-imx21ads

f_buildrpms() returned an error, exiting

Started: Mon Mar 26 20:31:53 2012
Ended:   Mon Mar 26 20:33:46 2012
Elapsed: 113 seconds

VERSION          : 11.4.1
CVS_VERSION      : $Revision: 1.85 $ (Savannah)
PLATFORM         : imx21ads
GNUTARCH         : arm
TOOLCHAIN        : tc-mtwk-lnx-arm-3.3.2-1.i686.rpm
TOOLCHAIN_CFLAGS : -O2 -fsigned-char

These packages failed to build:

Build Failed

Exiting on error or interrupt

reply via email to

[Prev in Thread] Current Thread [Next in Thread]