Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem building libglib2
@ 2012-11-28  1:37 Charles Manning
  2012-11-28 13:31 ` Thomas Petazzoni
  0 siblings, 1 reply; 15+ messages in thread
From: Charles Manning @ 2012-11-28  1:37 UTC (permalink / raw)
  To: buildroot

Hello

I'm a buildroot newbie and am trying to figure out what went wrong here.

make[5]: Entering directory
`/opt/buildroot/buildroot/output/build/libglib2-2.30.3/gobject'
  CCLD   libgobject-2.0.la
/opt/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
skipping incompatible /lib/libpthread.so.0 when searching for
/lib/libpthread.so.0
/opt/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find /lib/libpthread.so.0
/opt/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
skipping incompatible /usr/lib/libpthread_nonshared.a when searching
for /usr/lib/libpthread_nonshared.a
/opt/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find /usr/lib/libpthread_nonshared.a
collect2: ld returned 1 exit status
make[5]: *** [libgobject-2.0.la] Error 1
make[5]: Leaving directory
`/opt/buildroot/buildroot/output/build/libglib2-2.30.3/gobject'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/buildroot/buildroot/output/build/libglib2-2.30.3/gobject'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/opt/buildroot/buildroot/output/build/libglib2-2.30.3/gobject'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/buildroot/buildroot/output/build/libglib2-2.30.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/opt/buildroot/buildroot/output/build/libglib2-2.30.3'
make: *** [/opt/buildroot/buildroot/output/build/libglib2-2.30.3/.stamp_built]
Error 2


As far as I can tell, this failed building libglib because various
files were missing. For example  /lib/libpthread.so.0.

However if I look in staging, that file exists:

charles at charles-laptop:/opt/buildroot/buildroot$ ls -al
output/staging/lib/libp*
-rwxr-xr-x 1 charles charles  19467 2012-05-29 00:41
output/staging/lib/libpcprofile.so
-rwxr-xr-x 1 charles charles 144489 2012-05-29 00:41
output/staging/lib/libpthread-2.15.so
lrwxrwxrwx 1 charles charles     18 2012-11-28 12:03
output/staging/lib/libpthread.so.0 -> libpthread-2.15.so
charles at charles-laptop:/opt/buildroot/buildroot$

So... please help the newbie....

Thanks

Charles

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-08-24 21:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  1:37 [Buildroot] Problem building libglib2 Charles Manning
2012-11-28 13:31 ` Thomas Petazzoni
2012-11-28 18:09   ` Charles Manning
2012-11-28 21:59     ` Arnout Vandecappelle
     [not found]       ` <201211291121.46456.manningc2@actrix.gen.nz>
2012-11-29  9:28         ` Arnout Vandecappelle
2012-11-29 17:52           ` Charles Manning
2012-11-29 18:08             ` Thomas Petazzoni
2012-11-29 18:22               ` Arnout Vandecappelle
2012-11-29 18:31               ` Charles Manning
2012-11-29 20:27                 ` Arnout Vandecappelle
2012-11-29 23:11                   ` Thomas Petazzoni
2012-11-30  8:37                     ` Arnout Vandecappelle
2012-12-02 22:42                       ` Charles Manning
2014-08-22 14:13                         ` oscarin
2014-08-24 21:04                           ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox