Shrihari K

Compilation error while building ES2.0 image using LTIB - could not read symbols: File in wrong format

Discussion created by Shrihari K on Jun 29, 2011
Latest reply on Feb 15, 2012 by Tony Garland

Currently running the Host PC on Ubuntu 11.04

Used the LTIB version as L2.6.35_10.11.01_ER_source.tar.gz to build the rootfs.

When we include the X11 libraries which is required for some of the application in LTIB, we get the below error and are stuck...



gcc -shared  .libs/fcatomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/fcfreetype.o .libs/fcfs.o .libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcserialize.o .libs/fcstr.o .libs/fcxml.o .libs/ftglue.o  /usr/lib/i386-linux-gnu/ -lz /usr/lib/i386-linux-gnu/  -Wl,-soname -Wl, -o .libs/
/usr/lib/i386-linux-gnu/ could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/home/ubuntu/Desktop/IMX/IMX-515/IMX-515-LTIB/ltib/ltib/rpm/BUILD/fontconfig-2.4.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ubuntu/Desktop/IMX/IMX-515/IMX-515-LTIB/ltib/ltib/rpm/BUILD/fontconfig-2.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/Desktop/IMX/IMX-515/IMX-515-LTIB/ltib/ltib/rpm/BUILD/fontconfig-2.4.2'
make: *** [all] Error 2
error: Bad exit status from /home/ubuntu/Desktop/IMX/IMX-515/IMX-515-LTIB/ltib/ltib/tmp/rpm-tmp.46929 (%build)

RPM build errors:
    Bad exit status from /home/ubuntu/Desktop/IMX/IMX-515/IMX-515-LTIB/ltib/ltib/tmp/rpm-tmp.46929 (%build)
Build time for fontconfig: 20 seconds

Failed building fontconfig

f_buildrpms() returned an error, exiting

Started: Wed Jun 29 20:18:08 2011
Ended:   Wed Jun 29 20:20:33 2011
Elapsed: 145 seconds

These packages failed to build:

Build Failed

Exiting on error or interrupt



any help will be appreciated