From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] libglib2 build failure
Date: Wed, 10 Feb 2010 00:48:22 +0100 [thread overview]
Message-ID: <20100210004822.5cc69bd2@surf> (raw)
Hello,
While trying to compile libglib2, I get the following build failure. It
is the infamous libtool problem, but libglib2 uses libtool 2.x, for
which our buildroot-libtool.patch does not apply. It happens in an external toolchain configuration, and libglib2.0-dev is installed on the host.
libtool: relink: /home/thomas/x-tools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-gcc -Os -pipe -Os --sysroot /work/build/thomas/br-test1/staging/ -share
d .libs/gappinfo.o .libs/gasynchelper.o .libs/gasyncinitable.o .libs/gasyncresult.o .libs/gbufferedinputstream.o .libs/gbufferedoutputstream.o .libs/gcancel
lable.o .libs/gcontenttype.o .libs/gdatainputstream.o .libs/gdataoutputstream.o .libs/gdrive.o .libs/gdummyfile.o .libs/gemblem.o .libs/gemblemedicon.o .libs
/gfile.o .libs/gfileattribute.o .libs/gfileenumerator.o .libs/gfileicon.o .libs/gfileinfo.o .libs/gfileinputstream.o .libs/gfilemonitor.o .libs/gfilenamecomp
leter.o .libs/gfileoutputstream.o .libs/gfileiostream.o .libs/gfilterinputstream.o .libs/gfilteroutputstream.o .libs/gicon.o .libs/ginetaddress.o .libs/ginet
socketaddress.o .libs/ginitable.o .libs/ginputstream.o .libs/gioerror.o .libs/giomodule.o .libs/gioscheduler.o .libs/giostream.o .libs/gloadableicon.o .libs/
gmount.o .libs/gmemoryinputstream.o .libs/gmemoryoutputstream.o .libs/gmountoperation.o .libs/gnativevolumemonitor.o .libs/gnetworkaddress.o .libs/gnetworkse
rvice.o .libs/goutputstream.o .libs/gpollfilemonitor.o .libs/gresolver.o .libs/gseekable.o .libs/gsimpleasyncresult.o .libs/gsocket.o .libs/gsocketaddress.o
.libs/gsocketaddressenumerator.o .libs/gsocketclient.o .libs/gsocketconnectable.o .libs/gsocketconnection.o .libs/gsocketcontrolmessage.o .libs/gsocketinputs
tream.o .libs/gsocketlistener.o .libs/gsocketoutputstream.o .libs/gsocketservice.o .libs/gsrvtarget.o .libs/gtcpconnection.o .libs/gthreadedsocketservice.o .
libs/gthemedicon.o .libs/gthreadedresolver.o .libs/gunionvolumemonitor.o .libs/gvfs.o .libs/gvolume.o .libs/gvolumemonitor.o .libs/gioenumtypes.o .libs/gioal
iasdef.o .libs/gdesktopappinfo.o .libs/gunixconnection.o .libs/gunixfdmessage.o .libs/gunixmount.o .libs/gunixmounts.o .libs/gunixresolver.o .libs/gunixsocke
taddress.o .libs/gunixvolume.o .libs/gunixvolumemonitor.o .libs/gunixinputstream.o .libs/gunixoutputstream.o .libs/glocaldirectorymonitor.o .libs/glocalfile.
o .libs/glocalfileenumerator.o .libs/glocalfileinfo.o .libs/glocalfileinputstream.o .libs/glocalfilemonitor.o .libs/glocalfileoutputstream.o .libs/glocalfile
iostream.o .libs/glocalvfs.o .libs/gio-marshal.o -Wl,--whole-archive inotify/.libs/libinotify.a libasyncns/.libs/libasyncns.a xdgmime/.libs/libxdgmime.a -Wl
,--no-whole-archive -Wl,-rpath -Wl,/work/build/thomas/br-test1/staging/usr/lib -L/work/build/thomas/br-test1/build/libglib2-2.22.4/glib/.libs -L/work/build/
thomas/br-test1/target/usr/lib -L/usr/lib -L/work/build/thomas/br-test1/staging/usr/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lresolv -L/work/build/th
omas/br-test1/target/work/build/thomas/br-test1/staging/usr/lib -lintl -liconv -lc -Wl,-soname -Wl,libgio-2.0.so.0 -Wl,-version-script -Wl,.libs/libgio-2.
0.ver -o .libs/libgio-2.0.so.0.2200.4
/usr/lib/libgobject-2.0.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libgio-2.0.la' with the above command before installing it
make[7]: *** [install-libLTLIBRARIES] Error 1
make[7]: Leaving directory
`/work/build/thomas/br-test1/build/libglib2-2.22.4/gio'
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next reply other threads:[~2010-02-09 23:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 23:48 Thomas Petazzoni [this message]
2010-02-10 6:26 ` [Buildroot] libglib2 build failure Lionel Landwerlin
2010-02-10 7:26 ` Thomas Petazzoni
2010-02-10 7:51 ` Thomas Petazzoni
2010-02-10 10:06 ` Lionel Landwerlin
2010-02-11 7:44 ` Thomas Petazzoni
2010-02-10 9:56 ` Lionel Landwerlin
2010-02-12 7:49 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100210004822.5cc69bd2@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.