Package: binutils-gold
Version: 2.19.51.20090805-1
Severity: normal

With gold:
LD idleseconds
/usr/bin/ld: idle.o: in function main:idle.c(.text+0x4c): error: undefined 
reference to 'XOpenDisplay'
/usr/bin/ld: idle.o: in function main:idle.c(.text+0xd2): error: undefined 
reference to 'XCloseDisplay'
collect2: ld returned 1 exit status
make: *** [idleseconds] Error 1

This fix in config.mk.gold requires -lX11 to be appended.

Perhaps this is a bug instead with `pkg-config --libs xscrnsaver` as it only 
returns `-lXss` on my system.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages binutils-gold depends on:
ii  binutils              2.19.51.20090805-1 The GNU assembler, linker and bina
ii  libc6                 2.9-25             GNU C Library: Shared libraries
ii  libgcc1               1:4.4.1-2          GCC support library
ii  libstdc++6            4.4.1-2            The GNU Standard C++ Library v3
ii  zlib1g                1:1.2.3.3.dfsg-15  compression library - runtime

binutils-gold recommends no packages.

binutils-gold suggests no packages.

-- no debconf information

Attachment: idle.tar.gz
Description: GNU Zip compressed data

Reply via email to