Bug#554644: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Thu Nov 5 21:19:05 UTC 2009


Source: gnet
Version: 2.0.8-1
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../../libtool --tag=CC --mode=link cc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes -Wmissing-declarations  -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o test-xmlrpc-client  test-xmlrpc-client.o libgnetxmlrpc.a ../../src/libgnet-2.0.la -lresolv -lnsl 
mkdir .libs
cc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-z -Wl,defs -Wl,-O1 -o .libs/test-xmlrpc-client test-xmlrpc-client.o  -Wl,--as-needed libgnetxmlrpc.a ../../src/.libs/libgnet-2.0.so -lresolv -lnsl 
/usr/bin/ld: test-xmlrpc-client.o: in function main:test-xmlrpc-client.c:53: error: undefined reference to 'g_free'
/usr/bin/ld: test-xmlrpc-client.o: in function main:test-xmlrpc-client.c:65: error: undefined reference to 'g_free'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_delete:xmlrpc-client.c:78: error: undefined reference to 'g_string_free'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_new:xmlrpc-client.c:43: error: undefined reference to 'g_malloc0'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_new:xmlrpc-client.c:65: error: undefined reference to 'g_string_new'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_new:xmlrpc-client.c:63: error: undefined reference to 'g_assertion_message_expr'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:219: error: undefined reference to 'g_string_new'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:220: error: undefined reference to 'g_string_new'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:224: error: undefined reference to 'g_string_append_printf'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:240: error: undefined reference to 'g_string_append'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:239: error: undefined reference to 'g_string_append'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:241: error: undefined reference to 'g_string_append'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:247: error: undefined reference to 'g_string_append'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:252: error: undefined reference to 'g_string_append_printf'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:259: error: undefined reference to 'g_string_append_len'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:262: error: undefined reference to 'g_string_free'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:265: error: undefined reference to 'g_string_free'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:93: error: undefined reference to 'g_string_new'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:134: error: undefined reference to 'g_ascii_tolower'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:139: error: undefined reference to 'g_strstr_len'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:168: error: undefined reference to 'g_strstr_len'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:175: error: undefined reference to 'g_strrstr'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:210: error: undefined reference to 'g_string_free'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:151: error: undefined reference to 'g_string_append_len'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:/usr/include/glib-2.0/glib/gstring.h:153: error: undefined reference to 'g_string_insert_c'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:/usr/include/glib-2.0/glib/gstring.h:153: error: undefined reference to 'g_string_insert_c'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:116: error: undefined reference to 'g_strstr_len'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:xmlrpc-client.c:185: error: undefined reference to 'g_strstr_len'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:/usr/include/glib-2.0/glib/gstring.h:153: error: undefined reference to 'g_string_insert_c'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_call:/usr/include/glib-2.0/glib/gstring.h:153: error: undefined reference to 'g_string_insert_c'
/usr/bin/ld: libgnetxmlrpc.a(xmlrpc-client.o): in function gnet_xmlrpc_client_delete:xmlrpc-client.c:80: error: undefined reference to 'g_free'
collect2: ld returned 1 exit status
make[4]: *** [test-xmlrpc-client] Error 1





More information about the pkg-gnome-maintainers mailing list