ltib
[Top][All Lists]
Advanced

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

[Ltib] mtd-utils-20060302 build failed


From: Daniel.Li
Subject: [Ltib] mtd-utils-20060302 build failed
Date: Thu, 09 Jul 2009 17:55:13 +0800

Dear All,

I'm new to ltib. I have just download Freescale ltib, and build with
following errors.

Is it mean there is some thing wrong with the mtd-utils-20060302 ? I'm
ubuntu (Jaunty) user.


Any tips and advice is well appreciated. Thanks in advance.


--------------------

./ltib --configure


Processing: mtd-utils-20060302
================================
Build path taken because: no prebuilt rpm,

rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu
i686' --define '__strip strip' --define
'_topdir /opt/freescale/ltib/usr/src/rpm' --define
'_prefix /opt/freescale/ltib/usr' --define
'_tmppath /home/daniel/work/ltib-mpc837xerdb-20081113/tmp' --define
'_mandir /opt/freescale/ltib/usr/share/man' --define
'_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb
--clean
--rmsource  
/home/daniel/work/ltib-mpc837xerdb-20081113/dist/lfs-5.1/mtd-utils/mtd-utils-20060302.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh
-e /home/daniel/work/ltib-mpc837xerdb-20081113/tmp/rpm-tmp.14599
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ rm -rf mtd
+ /bin/bzip2
-dc /opt/freescale/ltib/usr/src/rpm/SOURCES/mtd-utils-20060302.tar.bz2
+ tar -xvvf -


 .......... bla .... bla ............


-rw-r--r-- seh/users      3244 2002-03-04 04:12
mtd/include/linux/zutil.h
-rw-r--r-- seh/users       662 2005-11-08 09:02 mtd/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mtd
+ echo 'Patch #1 (mtd-utils-20060302-cf-byteswap_h-1.patch):'
Patch #1 (mtd-utils-20060302-cf-byteswap_h-1.patch):
+ patch -p1 -s
+ echo 'Patch #2 (mtd-utils-20060302-find_fs_entry.patch):'
Patch #2 (mtd-utils-20060302-find_fs_entry.patch):
+ patch -p1 -s
+ echo 'Patch #3 (mtd-utils-20060302-eraseall.patch):'
Patch #3 (mtd-utils-20060302-eraseall.patch):
+ patch -p1 -s
+ echo 'Patch #4 (mtd-utils-20060302-eraseall_prog.patch):'
Patch #4 (mtd-utils-20060302-eraseall_prog.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh
-e /home/daniel/work/ltib-mpc837xerdb-20081113/tmp/rpm-tmp.74621
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd mtd
+ make -C util
make: Entering directory
`/opt/freescale/ltib/usr/src/rpm/BUILD/mtd/util'
gcc -I../include -O2 -Wall -g -c -o ftl_format.o ftl_format.c -g
-Wp,-MD,.ftl_format.c.dep
In file included from /usr/include/endian.h:61,
                 from /usr/include/sys/types.h:217,
                 from ftl_format.c:38:
../include/bits/byteswap.h:21:3: error: #error "Never use
<bits/byteswap.h> directly; include <byteswap.h> instead."
make: *** [ftl_format.o] Error 1
make: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/mtd/util'
error: Bad exit status
from /home/daniel/work/ltib-mpc837xerdb-20081113/tmp/rpm-tmp.74621 (%
build)


RPM build errors:
    Bad exit status
from /home/daniel/work/ltib-mpc837xerdb-20081113/tmp/rpm-tmp.74621 (%
build)
Build time for mtd-utils-20060302: 1 seconds

Failed building mtd-utils-20060302
Died at ./ltib line 1317.
traceback:
 main::build_host_rpms:1317
  main::host_checks:1371
   main:530


Started: Thu Jul  9 17:28:47 2009
Ended:   Thu Jul  9 17:43:28 2009
Elapsed: 881 seconds

These packages failed to build:
mtd-utils-20060302

Build Failed


-- 
Daniel Li





reply via email to

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