ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] [ltib-users] Glib2 error while compile


From: Stuart Hughes
Subject: Re: [Ltib] [ltib-users] Glib2 error while compile
Date: Tue, 04 May 2010 13:29:10 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Fabio,

This is not a Savannah version is it?  The version in Savannah is 2.14.3
but yours shows cd glib-2.22.4.  If your BSP is from Freescale, you
should ask them for support as I don't have their versions.

Looking at your output, the most obvious thing that may be causing a
problem is that the test for nm fails.  If you look in libtool, this
could be significant with respect to this error.

checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump -symbols
checking the name lister (link -dump -symbols) interface... BSD nm
checking whether ln -s works... yes

Check in your rpm/BUILD/glib*/libtool file and see if nm has been set.
The Savannah log show (for 2.14.3):

# A BSD-compatible nm program.
NM="nm"

Regards, Stuart


Fabio Montemaggiore wrote:
> Hy,
> I am trying compile Glib2 on imx27 but not succefful with this error:
> 
> 
> bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall 
> -version-info 2200:4:2200 -export-dynamic  -export-symbols-regex "^g.*" 
> -o libglib-2.0.la -rpath /usr/lib garray.lo gasyncqueue.lo gatomic.lo
> gbacktrace.lo gbase64.lo gbookmarkfile.lo gcache.lo gchecksum.lo
> gcompletion.lo gconvert.lo gdataset.lo gdate.lo gdir.lo gerror.lo
> gfileutils.lo ghash.lo ghook.lo ghostutils.lo giochannel.lo gkeyfile.lo
> glist.lo gmain.lo gmappedfile.lo gmarkup.lo gmem.lo gmessages.lo
> gnode.lo goption.lo gpattern.lo gpoll.lo gprimes.lo gqsort.lo gqueue.lo
> grel.lo grand.lo gregex.lo gscanner.lo gsequence.lo gshell.lo gslice.lo
> gslist.lo gstdio.lo gstrfuncs.lo gstring.lo gtestutils.lo gthread.lo
> gthreadpool.lo gtimer.lo gtree.lo guniprop.lo gutf8.lo gunibreak.lo
> gunicollate.lo gunidecomp.lo gurifuncs.lo gutils.lo gprintf.lo
> libcharset/libcharset.la gnulib/libgnulib.la giounix.lo gspawn.lo   
> pcre/libpcre.la
> libtool: link: link -dump -symbols  .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   libcharset/.libs/libcharset.a gnulib/.libs/libgnulib.a
> pcre/.libs/libpcre.a |  | /bin/sed 's/.* //' | sort | uniq >
> .libs/libglib-2.0.exp
> ../libtool: eval: line 964: syntax error near unexpected token `|'
> ../libtool: eval: line 964: `link -dump -symbols  .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  
> libcharset/.libs/libcharset.a gnulib/.libs/libgnulib.a
> pcre/.libs/libpcre.a |  | /bin/sed 's/.* //' | sort | uniq >
> .libs/libglib-2.0.exp'
> make[4]: *** [libglib-2.0.la] Error 1
> make[4]: Leaving directory `/home/fabio/ltib/rpm/BUILD/glib-2.22.4/glib'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/fabio/ltib/rpm/BUILD/glib-2.22.4/glib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/fabio/ltib/rpm/BUILD/glib-2.22.4/glib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/fabio/ltib/rpm/BUILD/glib-2.22.4'
> make: *** [all] Error 2
> error: Bad exit status from /home/fabio/ltib/tmp/rpm-tmp.12295 (%build)
> 
> I attached the log file
> 
> What can I doing?
> 
> Thanks
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

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