Bug#555183: FTBFS with binutils-gold
Peter Fritzsche
peter.fritzsche at gmx.de
Sun Nov 8 20:05:31 UTC 2009
Source: libgtop2
Version: 2.28.0-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 --mode=link cc -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -g -O2 -g -Wall -O2 -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o first first.o ../lib/libgtop-2.0.la
libtool: link: cc -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -g -O2 -g -Wall -O2 -Wl,-z -Wl,defs -Wl,-O1 -o .libs/first first.o -Wl,--as-needed ../lib/.libs/libgtop-2.0.so
/usr/bin/ld: first.o: in function main:first.c:238: error: undefined reference to 'g_free'
/usr/bin/ld: first.o: in function main:first.c:352: error: undefined reference to 'g_free'
/usr/bin/ld: first.o: in function main:first.c:462: error: undefined reference to 'g_free'
/usr/bin/ld: first.o: in function main:first.c:573: error: undefined reference to 'g_free'
collect2: ld returned 1 exit status
make[3]: *** [first] Error 1
More information about the pkg-gnome-maintainers
mailing list