AnsweredAssumed Answered

Build imx6 L3.0.35_4.0.0  BSP glib error

Question asked by Jacky Huang on Jun 20, 2013
Branched to a new discussion

Dear All:

 

Now I trying to build imx6 L3.0.35_4.0.0 BSP rootfs.

I got the build error when I Build the glib.

the compiler print as below and the accessory is the build log:

libtool: link: /bin/grep -E -e "^g.*" ".libs/libglib-2.0.exp" > ".libs/libglib-2.0.expT"

libtool: link: mv -f ".libs/libglib-2.0.expT" ".libs/libglib-2.0.exp"

libtool: link: echo "{ global:" > .libs/libglib-2.0.ver

libtool: link:  cat .libs/libglib-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libglib-2.0.ver

libtool: link:  echo "local: *; };" >> .libs/libglib-2.0.ver

libtool: link:  gcc -shared  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o .libs/gchecksum.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/ghostutils.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gpoll.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gurifuncs.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o  -Wl,--whole-archive libcharset/.libs/libcharset.a pcre/.libs/libpcre.a -Wl,--no-whole-archive     -Wl,-soname -Wl,libglib-2.0.so.0 -Wl,-version-script -Wl,.libs/libglib-2.0.ver -o .libs/libglib-2.0.so.0.2200.1

.libs/gcache.o: file not recognized: File truncated

collect2: ld returned 1 exit status

make[4]: *** [libglib-2.0.la] Error 1

make[4]: Leaving directory `/home/liangyu/work/ltib/rpm/BUILD/glib-2.22.1/glib'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory `/home/liangyu/work/ltib/rpm/BUILD/glib-2.22.1/glib'

make[2]: *** [all] Error 2

 

Thanks advance for you reply!

 

Original Attachment has been moved to: build-error-log.zip

Outcomes