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

Bug#556874: FTBFS with binutils-gold



Source: x11-xkb-utils
Version: 7.4+3
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

gcc  -Wall -g -O2   -o xkbvleds  xkbvleds-xkbvleds.o xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXt -lXmu   
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:162: error: undefined reference to 'XkbOpenDisplay'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:248: error: undefined reference to 'XkbLibraryVersion'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:254: error: undefined reference to 'XkbQueryExtension'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:271: error: undefined reference to 'XkbGetMap'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:276: error: undefined reference to 'XkbGetIndicatorMap'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:280: error: undefined reference to 'XkbGetNames'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:321: error: undefined reference to 'XkbSelectEvents'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:323: error: undefined reference to 'XkbGetIndicatorState'
/usr/bin/ld: xkbvleds-xkbvleds.o: in function main:../xkbutils/xkbvleds.c:188: error: undefined reference to 'XSynchronize'
/usr/bin/ld: xkbvleds-LED.o: in function Destroy:../xkbutils/LED.c:280: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: xkbvleds-LED.o: in function Destroy:../xkbutils/LED.c:276: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:167: error: undefined reference to 'XCreatePixmap'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:169: error: undefined reference to 'XCreatePixmap'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:173: error: undefined reference to 'XCreateGC'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:177: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:178: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:179: error: undefined reference to 'XSetForeground'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:180: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:181: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:182: error: undefined reference to 'XSetForeground'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:184: error: undefined reference to 'XSetForeground'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:186: error: undefined reference to 'XFreeGC'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:190: error: undefined reference to 'XSetWindowBackgroundPixmap'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:164: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: xkbvleds-LED.o: in function GetPixmaps:../xkbutils/LED.c:160: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: xkbvleds-LED.o: in function SetValues:../xkbutils/LED.c:264: error: undefined reference to 'XSetWindowBackgroundPixmap'
/usr/bin/ld: xkbvleds-LED.o: in function Realize:../xkbutils/LED.c:224: error: undefined reference to 'XSetWindowBackgroundPixmap'
collect2: ld returned 1 exit status
make[2]: *** [xkbvleds] Error 1



Reply to: