Build imx6 L3.0.35_4.0.0  BSP glib error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build imx6 L3.0.35_4.0.0  BSP glib error

Jump to solution
1,404 Views
huangjacky
Contributor III

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

Labels (2)
Tags (2)
0 Kudos
Reply
1 Solution
1,033 Views
GraceH
Senior Contributor II

Hi Jacky,

I can successfully build glib2 with L3.0.35_4.0.0  in Ubuntu 10.04. What Ubuntu version do you use?


Grace

View solution in original post

0 Kudos
Reply
3 Replies
1,033 Views
YixingKong
Senior Contributor IV

Jacky, if your issue has been resolved please click Correct Answer/Helpful Answer.

Thanks,

Yixing

0 Kudos
Reply
1,034 Views
GraceH
Senior Contributor II

Hi Jacky,

I can successfully build glib2 with L3.0.35_4.0.0  in Ubuntu 10.04. What Ubuntu version do you use?


Grace

0 Kudos
Reply
1,033 Views
huangjacky
Contributor III

Sorry for reply so late, my ubuntu version is 12.04

0 Kudos
Reply