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

Bug#555599: FTBFS with binutils-gold



Source: mesa
Version: 7.6-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 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  corender.o ipc.o -L../../glx -lGL  -lm -o corender
/usr/bin/ld: corender.o: in function main:corender.c:369: error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: corender.o: in function main:corender.c:298: error: undefined reference to 'XPending'
/usr/bin/ld: corender.o: in function main:corender.c:300: error: undefined reference to 'XNextEvent'
/usr/bin/ld: corender.o: in function main:corender.c:313: error: undefined reference to 'XLookupKeysym'
/usr/bin/ld: corender.o: in function main:corender.c:317: error: undefined reference to 'XLookupString'
/usr/bin/ld: corender.o: in function main:corender.c:260: error: undefined reference to 'XCreateColormap'
/usr/bin/ld: corender.o: in function main:corender.c:264: error: undefined reference to 'XCreateWindow'
/usr/bin/ld: corender.o: in function main:corender.c:276: error: undefined reference to 'XSetNormalHints'
/usr/bin/ld: corender.o: in function main:corender.c:277: error: undefined reference to 'XSetStandardProperties'
/usr/bin/ld: corender.o: in function main:corender.c:238: error: undefined reference to 'XSetStandardProperties'
/usr/bin/ld: corender.o: in function main:corender.c:382: error: undefined reference to 'XMapWindow'
/usr/bin/ld: corender.o: in function main:corender.c:290: error: undefined reference to 'XChangeWindowAttributes'
collect2: ld returned 1 exit status
make[3]: *** [corender] Error 1



Reply to: