Was a resolution ever found for this
issue: http://lists.nongnu.org/archive/html/ltib/2009-02/msg00046.html?
<http://lists.nongnu.org/archive/html/ltib/2009-02/msg00046.html>I am
seeing the exact same thing now trying to build mtd-utils for the
M54455EVB with the 7/29/2009 ltib from Freescale (see below.)
Thanks,
--FritzM.
Processing: mtd-utils
=======================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/fritzm/ltib/rootfs//var/lib/rpm --target m68k
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu
m68k' --define '__strip strip' --define '_topdir /home/fritzm/ltib/rpm'
--define '_prefix /usr' --define '_tmppath /home/fritzm/ltib/tmp'
--define '_rpmdir /home/fritzm/ltib/rpm/RPMS' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
/var' -bc --short-circuit
/home/fritzm/ltib/dist/lfs-5.1/mtd-utils/mtd-utils.spec
Building target platforms: m68k
Building for target m68k
Executing(%build): /bin/sh -e /home/fritzm/ltib/tmp/rpm-tmp.90917
+ umask 022
+ cd /home/fritzm/ltib/rpm/BUILD
+ cd mtd-utils
+ make -j1 WITHOUT_XATTR=1
make -C ./ubi-utils
make[1]: Entering directory
`/home/fritzm/ltib/rpm/BUILD/mtd-utils/ubi-utils'
gcc -o pfiflash pfiflash.o libpfiflash.o list.o reader.o error.o
libubimirror.o bootenv.o hashmap.o pfi.o libubi.o crc32.o
libubimirror.o: In function `toupper':
/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:199:
multiple definition of `toupper'
libpfiflash.o:/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:199:
first defined here
libubimirror.o: In function `tolower':
/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:193:
multiple definition of `tolower'
libpfiflash.o:/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:193:
first defined here
bootenv.o: In function `toupper':
/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:199:
multiple definition of `toupper'
libpfiflash.o:/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:199:
first defined here
bootenv.o: In function `tolower':
/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:193:
multiple definition of `tolower'
libpfiflash.o:/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:193:
first defined here
libubi.o: In function `toupper':
/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:199:
multiple definition of `toupper'
libpfiflash.o:/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:199:
first defined here
libubi.o: In function `tolower':
/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:193:
multiple definition of `tolower'
libpfiflash.o:/opt/freescale/usr/local/gcc-4.3.43-eglibc-2.5.43/m68k-linux/m68k-linux-gnu/libc/usr/include/ctype.h:193:
first defined here
collect2: ld returned 1 exit status
make[1]: *** [pfiflash] Error 1
make[1]: Leaving directory `/home/fritzm/ltib/rpm/BUILD/mtd-utils/ubi-utils'
make: *** [all] Error 2
error: Bad exit status from /home/fritzm/ltib/tmp/rpm-tmp.90917 (%build)
RPM build errors:
Bad exit status from /home/fritzm/ltib/tmp/rpm-tmp.90917 (%build)
Build time for mtd-utils: 1 seconds
Failed building mtd-utils
------------------------------------------------------------------------
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib