[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#554743: FTBFS with binutils-gold



Source: grandr
Version: 0.1+git20080326-1
Severity: minor
User: peter.fritzsche@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

x86_64-linux-gnu-gcc  -Wall -g -O2  -Wl,-z,defs -o grandr  main.o support.o interface.o callbacks.o grandr.o pixmap.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgconf-2 -lglib-2.0 -lXrandr    
/usr/bin/ld: main.o: in function main:main.c:74: error: undefined reference to 'g_thread_init'
/usr/bin/ld: main.o: in function main:main.c:89: error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: grandr.o: in function screen_apply:grandr.c:308: error: undefined reference to 'XOpenDisplay'
collect2: ld returned 1 exit status
make[3]: *** [grandr] Error 1



Reply to: