Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 340753

Summary: net-libs/gupnp-0.13.2 fails to link with the gold linker
Product: Gentoo Linux Reporter: Raymes Khoury <raymes.khoury>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gnome, vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to allow gupnp to link with the gold linker

Description Raymes Khoury 2010-10-12 20:43:16 UTC
gupnp-0.13.2 fails to link with the gold linker because the following libraries aren't explicitly passed to the linker:
-lgssdp-1.0  -lgobject-2.0

The following error is reported:
 CCLD   light-server
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x48): error: undefined reference to 'g_type_init'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x17c): error: undefined reference to 'g_signal_connect_data'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x181): error: undefined reference to 'gssdp_resource_browser_get_type'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x18d): error: undefined reference to 'g_type_check_instance_cast'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:l

Reproducible: Always

Steps to Reproduce:
1. USE=gold emerge binutils
2. emerge =gupnp-0.13.2
Comment 1 Raymes Khoury 2010-10-12 20:44:14 UTC
Created attachment 250393 [details, diff]
Patch to allow gupnp to link with the gold linker
Comment 2 Pacho Ramos gentoo-dev 2012-06-30 12:57:32 UTC
Still valid with 0.18.3?
Comment 3 SpanKY gentoo-dev 2012-11-08 03:43:26 UTC
0.18.4 seems to work for me