problem building dbus-glib : can't find libgcc_s.so

Guillaume Chereau charlie at openmoko.org
Mon Sep 1 08:46:49 CEST 2008


Hello Graeme,

When I try to build dbus-glib on my machine (using org.openmoko.dev),
I get the following error :

make[4]: Entering directory
`/home/charlie/Work/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/dbus-glib-0.76-r0/dbus-glib-0.76/dbus'
/bin/bash ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=link
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-isystem/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -Os -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare  -L/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -o dbus-binding-tool  dbus-binding-tool-glib.o dbus-glib-tool.o libdbus-gtool.la libdbus-glib-1.la -ldbus-1   -lgobject-2.0 -lglib-2.0   -lexpat -lnsl 
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-isystem/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -Os -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -Wl,-rpath-link -Wl,/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -o .libs/dbus-binding-tool dbus-binding-tool-glib.o dbus-glib-tool.o  -L/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib ./.libs/libdbus-gtool.a ./.libs/libdbus-glib-1.so /home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/libdbus-1.so /home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/libgobject-2.0.so /home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/libglib-2.0.so /home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/libexpat.so -lnsl
/home/charlie/Work/moko/build/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libgcc_s.so.1, needed by /home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/libglib-2.0.so, not found (try using -rpath or -rpath-link)
/home/charlie/Work/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/libglib-2.0.so: undefined reference to `__aeabi_unwind_cpp_pr0 at GCC_3.5'

I guess there is a dependency missing but can't find which package would
install libgcc_s.so

Do you know what dependency I should add to dbus-glib so that I can
compile it ?

cheers,
-Guillaume / Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.openmoko.org/pipermail/devel/attachments/20080901/e9d4b920/attachment.pgp 


More information about the devel mailing list