[Pkg-hpijs-devel] Bug#554295: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Tue Nov 3 23:01:49 UTC 2009


Source: cupsddk
Version: 1.2.3-5
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.

In your case it looks like that libcups.a need the libraries, but they aren't
provided by you. Haven't checked were the informations where to link to is
coming from, but if it is cups-config than check if you ask for --static and
cups-config provides these libraries.

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

Linking ppdc-static...
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x1253): error: undefined reference to 
'avahi_simple_poll_new'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x126f): error: undefined reference to 
'avahi_simple_poll_get'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x128a): error: undefined reference to 
'avahi_client_new'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x12dd): error: undefined reference to 
'avahi_service_resolver_new'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x12ef): error: undefined reference to 
'avahi_simple_poll_loop'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x1301): error: undefined reference to 
'avahi_client_free'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o): in function _httpResolveURI:(.text+0x130b): error: undefined reference to 
'avahi_simple_poll_free'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x1b27): error: undefined reference to 'avahi_string_list_find'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x1b49): error: undefined reference to 'avahi_string_list_get_pair'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x1b88): error: undefined reference to 'avahi_address_snprint'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x1bba): error: undefined reference to 'avahi_simple_poll_quit'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x1c11): error: undefined reference to 'avahi_service_resolver_free'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x1c1a): error: undefined reference to 'avahi_simple_poll_quit'
/usr/bin/ld: /usr/lib/libcups.a(http-support.o):(.text+0x384): error: undefined reference to 'avahi_simple_poll_quit'
collect2: ld returned 1 exit status
make[2]: *** [ppdc-static] Error 1





More information about the Pkg-hpijs-devel mailing list