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

Bug#556872: FTBFS with binutils-gold



Source: x11-session-utils
Version: 7.3+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

gcc  -Wall -g -O2   -o smproxy  smproxy-save.o smproxy-smproxy.o -lXt -lXmu   
/usr/bin/ld: smproxy-smproxy.o: in function ConnectProxyToSM:../smproxy/smproxy.c:1185: error: undefined reference to 'SmcOpenConnection'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectProxyToSM:../smproxy/smproxy.c:1199: error: undefined reference to 'SmcGetIceConnection'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectProxyToSM:../smproxy/smproxy.c:1201: error: undefined reference to 'IceConnectionNumber'
/usr/bin/ld: smproxy-smproxy.o: in function ProxyShutdownCancelledCB:../smproxy/smproxy.c:1152: error: undefined reference to 'SmcSaveYourselfDone'
/usr/bin/ld: smproxy-smproxy.o: in function ProxyDieCB:../smproxy/smproxy.c:1120: error: undefined reference to 'SmcCloseConnection'
/usr/bin/ld: smproxy-smproxy.o: in function ProxySaveYourselfCB:../smproxy/smproxy.c:1101: error: undefined reference to 'SmcRequestSaveYourselfPhase2'
/usr/bin/ld: smproxy-smproxy.o: in function ProxySaveYourselfCB:../smproxy/smproxy.c:1104: error: undefined reference to 'SmcSaveYourselfDone'
/usr/bin/ld: smproxy-smproxy.o: in function ProxySaveYourselfPhase2CB:../smproxy/smproxy.c:1069: error: undefined reference to 'SmcSetProperties'
/usr/bin/ld: smproxy-smproxy.o: in function ProxySaveYourselfPhase2CB:../smproxy/smproxy.c:1074: error: undefined reference to 'SmcSaveYourselfDone'
/usr/bin/ld: smproxy-smproxy.o: in function ProxySaveYourselfPhase2CB:../smproxy/smproxy.c:1004: error: undefined reference to 'SmcSetProperties'
/usr/bin/ld: smproxy-smproxy.o: in function ProxySaveYourselfPhase2CB:../smproxy/smproxy.c:1074: error: undefined reference to 'SmcSaveYourselfDone'
/usr/bin/ld: smproxy-smproxy.o: in function RemoveWindow:../smproxy/smproxy.c:688: error: undefined reference to 'XFreeStringList'
/usr/bin/ld: smproxy-smproxy.o: in function RemoveWindow:../smproxy/smproxy.c:691: error: undefined reference to 'XFree'
/usr/bin/ld: smproxy-smproxy.o: in function RemoveWindow:../smproxy/smproxy.c:694: error: undefined reference to 'XFree'
/usr/bin/ld: smproxy-smproxy.o: in function RemoveWindow:../smproxy/smproxy.c:697: error: undefined reference to 'XFree'
/usr/bin/ld: smproxy-smproxy.o: in function RemoveWindow:../smproxy/smproxy.c:700: error: undefined reference to 'XFree'
/usr/bin/ld: smproxy-smproxy.o: in function HandleDestroy:../smproxy/smproxy.c:902: error: undefined reference to 'SmcCloseConnection'
/usr/bin/ld: smproxy-smproxy.o: in function GetClientLeader:../smproxy/smproxy.c:165: error: undefined reference to 'XGetWindowProperty'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectClientToSM:../smproxy/smproxy.c:540: error: undefined reference to 'IceSetErrorHandler'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectClientToSM:../smproxy/smproxy.c:542: error: undefined reference to 'SmcOpenConnection'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectClientToSM:../smproxy/smproxy.c:553: error: undefined reference to 'IceSetErrorHandler'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectClientToSM:../smproxy/smproxy.c:558: error: undefined reference to 'SmcGetIceConnection'
/usr/bin/ld: smproxy-smproxy.o: in function ConnectClientToSM:../smproxy/smproxy.c:560: error: undefined reference to 'IceConnectionNumber'
/usr/bin/ld: smproxy-smproxy.o: in function DieCB:../smproxy/smproxy.c:414: error: undefined reference to 'SmcCloseConnection'
/usr/bin/ld: smproxy-smproxy.o: in function DieCB:../smproxy/smproxy.c:423: error: undefined reference to 'XSync'
/usr/bin/ld: smproxy-smproxy.o: in function DieCB:../smproxy/smproxy.c:424: error: undefined reference to 'XKillClient'
/usr/bin/ld: smproxy-smproxy.o: in function DieCB:../smproxy/smproxy.c:425: error: undefined reference to 'XSync'
/usr/bin/ld: smproxy-smproxy.o: in function FinishSaveYourself:../smproxy/smproxy.c:333: error: undefined reference to 'SmcSetProperties'
/usr/bin/ld: smproxy-smproxy.o: in function FinishSaveYourself:../smproxy/smproxy.c:301: error: undefined reference to 'SmcSetProperties'
/usr/bin/ld: smproxy-smproxy.o: in function SaveYourselfCB:../smproxy/smproxy.c:379: error: undefined reference to 'XSendEvent'
/usr/bin/ld: smproxy-smproxy.o: in function HasXSMPsupport:../smproxy/smproxy.c:138: error: undefined reference to 'XGetTextProperty'
/usr/bin/ld: smproxy-smproxy.o: in function HasSaveYourself:../smproxy/smproxy.c:110: error: undefined reference to 'XGetWMProtocols'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:733: error: undefined reference to 'XSetErrorHandler'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:793: error: undefined reference to 'XSync'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:794: error: undefined reference to 'XSetErrorHandler'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:767: error: undefined reference to 'XFetchName'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:769: error: undefined reference to 'XGetCommand'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:773: error: undefined reference to 'XGetClassHint'
/usr/bin/ld: smproxy-smproxy.o: in function Got_WM_STATE:../smproxy/smproxy.c:775: error: undefined reference to 'XGetWMClientMachine'
/usr/bin/ld: smproxy-smproxy.o: in function HandleUpdate:../smproxy/smproxy.c:942: error: undefined reference to 'XFreeStringList'
/usr/bin/ld: smproxy-smproxy.o: in function HandleUpdate:../smproxy/smproxy.c:947: error: undefined reference to 'XGetCommand'
/usr/bin/ld: smproxy-smproxy.o: in function HandleCreate:../smproxy/smproxy.c:842: error: undefined reference to 'XSetErrorHandler'
/usr/bin/ld: smproxy-smproxy.o: in function HandleCreate:../smproxy/smproxy.c:854: error: undefined reference to 'XSelectInput'
/usr/bin/ld: smproxy-smproxy.o: in function HandleCreate:../smproxy/smproxy.c:862: error: undefined reference to 'XGetWindowProperty'
/usr/bin/ld: smproxy-smproxy.o: in function HandleCreate:../smproxy/smproxy.c:874: error: undefined reference to 'XSync'
/usr/bin/ld: smproxy-smproxy.o: in function HandleCreate:../smproxy/smproxy.c:875: error: undefined reference to 'XSetErrorHandler'
/usr/bin/ld: smproxy-smproxy.o: in function CheckForExistingWindows:../smproxy/smproxy.c:1230: error: undefined reference to 'XQueryTree'
/usr/bin/ld: smproxy-smproxy.o: in function main:../smproxy/smproxy.c:1314: error: undefined reference to 'XInternAtom'
/usr/bin/ld: smproxy-smproxy.o: in function main:../smproxy/smproxy.c:1315: error: undefined reference to 'XInternAtom'
/usr/bin/ld: smproxy-smproxy.o: in function main:../smproxy/smproxy.c:1316: error: undefined reference to 'XInternAtom'
/usr/bin/ld: smproxy-smproxy.o: in function main:../smproxy/smproxy.c:1317: error: undefined reference to 'XInternAtom'
/usr/bin/ld: smproxy-smproxy.o: in function main:../smproxy/smproxy.c:1323: error: undefined reference to 'XSelectInput'
/usr/bin/ld: smproxy-smproxy.o: in function ProcessIceMsgProc:../smproxy/smproxy.c:480: error: undefined reference to 'IceProcessMessages'
collect2: ld returned 1 exit status
make[2]: *** [smproxy] Error 1



Reply to: