Hi,

I am using Ubuntu 10.04 LTS on X86_64 machine.

I am using

ltib-10-1-1a-sv and ltib-11-4-1-sv,

But I could not get the blob_boot loader.
Even though the LTIB generated all the other things, I need a bootloader
for i.MX21 ADS.

Blob Fails to build, because of some autoconf version.I have attached the
error_logs.

Please Kindly Suggest!

-- 
✉ Regards :: Krishna Pavan ✍
configure.in:26: error: Autoconf version 2.58 or higher is required
aclocal.m4:401: AM_INIT_AUTOMAKE is expanded from...
configure.in:26: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: //opt/ltib/usr/bin/autom4te failed with exit status: 1
make[2]: *** [config.h.in] Error 1
make[2]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-10-1-1a-sv/rpm/BUILD/blob-2.0.5-pre2/include/blob'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-10-1-1a-sv/rpm/BUILD/blob-2.0.5-pre2/include'
make: *** [all-recursive] Error 1
error: Bad exit status from 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-10-1-1a-sv/tmp/rpm-tmp.24478 
(%build)


RPM build errors:
    Bad exit status from 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-10-1-1a-sv/tmp/rpm-tmp.24478 
(%build)
Build time for blob-imx21ads: 0 seconds

Failed building blob-imx21ads


f_buildrpms() returned an error, exiting
traceback:
 main:561


Started: Mon Mar 12 18:38:23 2012
Ended:   Mon Mar 12 18:38:24 2012
Elapsed: 1 seconds

These packages failed to build:
blob-imx21ads 

Build Failed

Exiting on error or interrupt

Processing: blob-imx21ads
===========================
get_spec(blob-imx21ads)
spec files: [ 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/dist/lfs-5.1/blob/blob-imx21ads.spec,
  ]
pfx=/opt/freescale/rootfs/%{_target_cpu}
files=
%defattr(-,root,root)
%{pfx}/*

prep=
%setup -n blob-2.0.5-pre2
%patch0 -p1
%patch1 -p1
#makec
# Get build vars from config in PLATFORM_PATH
BLOB_BOARD=`grep '^CONFIG_BLOB_BOARD' $PLATFORM_PATH/.config | sed 's/^.*=//' | 
sed 's/"//g'`
ENABLE_NAND=""
if grep '^CONFIG_BLOB_NAND' $PLATFORM_PATH/.config; then
        ENABLE_NAND="--enable-nand"
fi

touch aclocal.m4
sleep 1
find . -name Makefile.in | xargs touch
sleep 1
touch configure
CC=arm-linux-gcc OBJCOPY=arm-linux-objcopy \
./configure \
  --with-linux-prefix=$DEV_IMAGE/usr/src/linux \
  --with-board=$BLOB_BOARD \
  --enable-maintainer-mode \
  --enable-md5 \
  --enable-net \
  --enable-debug \
  --host=i386 \
  $ENABLE_NAND \
  arm-unknown-linux-gnu


group=Applications/System
buildroot=%{_tmppath}/%{name}
summary=Blob bootloader firmware
url=http://www.lart.tudelft.nl/lartware/blob/
install=rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{pfx}/boot
cp src/blob/blob $RPM_BUILD_ROOT/%{pfx}/boot


version=2.0.5_pre2
name=blob
release=1
packager=John Faith
license=GPL
build=#makeb
make


sources=Source          : blob-2.0.5-pre2.tar.gz

pkg_dir_name=blob-2.0.5-pre2
patches=Patch0          : blob.mx21-3.patch
Patch1          : blob.mx21-drive-strength-pcmcia.patch

vendor=Freescale Semiconductor
prefix=%{pfx}
Build path taken because: directory build, build key set, no prebuilt rpm, 

rpmbuild --dbpath 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rootfs//var/lib/rpm 
--target arm --define '_unpackaged_files_terminate_build 0' --define 
'_target_cpu arm' --define '__strip strip' --define '_topdir 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm' --define 
'_prefix /usr' --define '_tmppath 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/tmp' --define 
'_rpmdir /home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/RPMS'  
--define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define 
'_localstatedir /var' -bc --short-circuit  
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/dist/lfs-5.1/blob/blob-imx21ads.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/tmp/rpm-tmp.60490
+ umask 022
+ cd /home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD
+ cd blob-2.0.5-pre2
+ make
Making all in doc
make[1]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/doc'
Making all in tools
make[1]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/tools'
Making all in utils
make[1]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils'
Making all in build
make[2]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils/build'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils/build'
Making all in mkparamblock
make[2]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils/mkparamblock'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils/mkparamblock'
make[2]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils'
make[1]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/utils'
Making all in include
make[1]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/include'
Making all in blob
make[2]: Entering directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/include/blob'
cd ../.. && autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:26: error: Autoconf version 2.58 or higher is required
aclocal.m4:401: AM_INIT_AUTOMAKE is expanded from...
configure.in:26: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: //opt/ltib/usr/bin/autom4te failed with exit status: 1
make[2]: *** [config.h.in] Error 1
make[2]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/include/blob'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/rpm/BUILD/blob-2.0.5-pre2/include'
make: *** [all-recursive] Error 1
error: Bad exit status from 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/tmp/rpm-tmp.60490 
(%build)


RPM build errors:
    Bad exit status from 
/home/post4pavan/Downloads/ltib_for_imx21ads/ltib-11-4-1-sv/tmp/rpm-tmp.60490 
(%build)
Build time for blob-imx21ads: 0 seconds

Failed building blob-imx21ads


f_buildrpms() returned an error, exiting
traceback:
 main:568


Started: Mon Mar 12 17:02:35 2012
Ended:   Mon Mar 12 17:02:36 2012
Elapsed: 1 seconds

VERSION          : 11.4.1
CVS_VERSION      : $Revision: 1.78 $ (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:
blob-imx21ads 

Build Failed

Exiting on error or interrupt

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to