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

Bug#556874: marked as done (FTBFS with binutils-gold)



Your message dated Sun, 16 Jan 2011 03:06:06 +0100
with message-id <20110116020606.GA15944@debian.org>
and subject line Re: Bug#556874: FTBFS with binutils-gold
has caused the Debian Bug report #556874,
regarding FTBFS with binutils-gold
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
556874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556874
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 7.6+1

Stefan Potyra <stefan.potyra@informatik.uni-erlangen.de> (16/12/2010):
> tags 556874 +patch
> thanks
> 
> attached is a patch (against 7.5+5) that fixes the problem.

Thanks. In the meanwhile, fixed upstream:
| commit 19b8c1dfc637245e306b34a3aef69370cfe8059b
| Author: Gaetan Nadon <memsize@videotron.ca>
| Date:   Fri Oct 1 17:36:33 2010 -0400
| 
|     config: update direct dependencies for xkbvleds and xkbwatch
|     
|     Depends on xproto through the inclusion of X.h.
|     Depends on x11 through the inclusion of Xlib.h.
|     Depends on Xaw through the inclusion of XawInit.h
|     Depends on Xt through the inclusion of IntrinsicP.h
|     
|     Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|     Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
| 
| diff --git a/configure.ac b/configure.ac
| index 0d5b07e..c64915f 100644
| --- a/configure.ac
| +++ b/configure.ac
| @@ -37,12 +37,12 @@ AM_CONFIG_HEADER(config.h)
|  AM_PROG_CC_C_O
|  
|  # xkbvleds checks
| -PKG_CHECK_MODULES(XKBVLEDS, xaw7)
| +PKG_CHECK_MODULES(XKBVLEDS, xproto xaw7 xt x11)
|  
|  # xkbbell checks
|  PKG_CHECK_MODULES(XKBBELL, xproto inputproto x11)
|  
|  # xkbwatch checks
| -PKG_CHECK_MODULES(XKBWATCH, xaw7)
| +PKG_CHECK_MODULES(XKBWATCH, xproto xaw7 xt x11)
|  
|  AC_OUTPUT([Makefile])

That's in xkbutils 1.0.3, closing accordingly.

KiBi.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: