ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] mtd-utils-20060302 build failed


From: Stuart Hughes
Subject: Re: [Ltib] mtd-utils-20060302 build failed
Date: Thu, 09 Jul 2009 11:12:37 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Daniel,

Their BSP has not been updated and the newer compiler on your distro is triggering the problem (it's more strict).

Unfortunately that platform has not been pushed into Savannah so you can't upgrade from there.

To fix this download the updated spec file from here:
http://cvs.savannah.gnu.org/viewvc/*checkout*/ltib/dist/lfs-5.1/mtd-utils/mtd-utils-20060302.spec?revision=1.3&root=ltib
and save it to dist/lfs-5.1/mtd-utils/
having done that,

$ rm -rf /opt/freescale/ltib/usr/src/rpm/BUILD/mtd*
$ ./ltib

Please contact Freescale support and ask them to upgrade their BSP or submit a patch to this list to add this platform to Savannah CVS.

   * go to http://www.freescale.com
   * click on "Support / Technical support"
   * click on "Submit a Service Request"
   * register to get a user name and password.
   * login in with your user name and password
   * on the "New Service Request" page:
      * category = Technical Request
      * topic = Linux BSP
      * Click on "Continue"
   * fill out the information for the service request
   * click on the "Submit" button at the bottom of the page.

Regards, Stuart

Daniel.Li wrote:
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






reply via email to

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