[Pkg-gpe-maintainers] Bug#555182: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Sun Nov 8 20:05:31 UTC 2009

Source: libgpewidget
Version: 0.117-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

/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2   -o infoprint infoprint-main.o -lgpewidget 
gcc -g -O2 -o .libs/infoprint infoprint-main.o  /home/peter/rebuild/build/libgpewidget/libgpewidget-0.117/.libs/libgpewidget.so 
/usr/bin/ld: infoprint-main.o: in function main:infoprint-main.c:38: error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: infoprint-main.o: in function main:infoprint-main.c:42: error: undefined reference to 'XFlush'
collect2: ld returned 1 exit status
make[2]: *** [infoprint] Error 1

More information about the Pkg-gpe-maintainers mailing list