[pkg-nvidia-devel] Bug#555781: FTBFS with binutils-gold
Peter Fritzsche
peter.fritzsche at gmx.de
Wed Nov 11 10:06:24 UTC 2009
Source: nvclock
Version: 0.8b4-1
Severity: minor
User: peter.fritzsche at 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.
Objects inside an .a archive aren't linked yet. This means that you must resolve
their sumbole when linking to your program.
More informations can be found at
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
gcc -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../backend -I../nvcontrol -I../.. -c -o settings.o settings.c
gcc -o nvclock_gtk banner.o gl.o hw.o main.o settings.o ../backend/libbackend.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L../backend -lbackend -L../nvcontrol -lnvcontrol
/usr/bin/ld: gl.o: in function nv_opengl_new:gl.c(.text+0xd27): error: undefined reference to 'XCreateColormap'
/usr/bin/ld: gl.o: in function nv_opengl_new:gl.c(.text+0xda8): error: undefined reference to 'XCreateWindow'
/usr/bin/ld: gl.o: in function nv_opengl_new:gl.c(.text+0xe00): error: undefined reference to 'XDestroyWindow'
/usr/bin/ld: gl.o: in function nv_opengl_new:gl.c(.text+0xf03): error: undefined reference to 'XDestroyWindow'
/usr/bin/ld: gl.o: in function nvevent_check:gl.c(.text+0x307f): error: undefined reference to 'XPending'
/usr/bin/ld: gl.o: in function nvevent_dispatch:gl.c(.text+0x30c3): error: undefined reference to 'XNextEvent'
/usr/bin/ld: gl.o: in function gui_gl_init:gl.c(.text+0x3feb): error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: gl.o: in function gui_gl_init:gl.c(.text+0x3ffe): error: undefined reference to 'dlopen'
/usr/bin/ld: gl.o: in function gui_gl_init:gl.c(.text+0x4026): error: undefined reference to 'dlsym'
/usr/bin/ld: gl.o: in function gui_gl_init:gl.c(.text+0x403b): error: undefined reference to 'dlsym'
/usr/bin/ld: gl.o: in function gui_gl_init:gl.c(.text+0x4050): error: undefined reference to 'dlsym'
/usr/bin/ld: gl.o: in function gui_gl_init:gl.c(.text+0x4065): error: undefined reference to 'dlsym'
/usr/bin/ld: hw.o: in function gui_hw_init:hw.c(.text+0x74ba): error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: main.o: in function gui_init:main.c(.text+0xa10): error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVFindDisplay:libnvcontrol.c(.text+0x19): error: undefined reference to 'XextCreateExtension'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVFindDisplay:libnvcontrol.c(.text+0x46): error: undefined reference to 'XextFindDisplay'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVFindDisplay:libnvcontrol.c(.text+0x77): error: undefined reference to 'XextAddDisplay'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVQueryExtension:libnvcontrol.c(.text+0xcb): error: undefined reference to 'XMissingExtension'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVQueryVersion:libnvcontrol.c(.text+0x161): error: undefined reference to 'XMissingExtension'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVQueryVersion:libnvcontrol.c(.text+0x188): error: undefined reference to 'XMissingExtension'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVQueryVersion:libnvcontrol.c(.text+0x1e0): error: undefined reference to '_XFlush'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVQueryVersion:libnvcontrol.c(.text+0x275): error: undefined reference to '_XReply'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetAttribute:libnvcontrol.c(.text+0x32e): error: undefined reference to 'XMissingExtension'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetAttribute:libnvcontrol.c(.text+0x386): error: undefined reference to '_XFlush'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetAttribute:libnvcontrol.c(.text+0x439): error: undefined reference to '_XReply'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetStringAttribute:libnvcontrol.c(.text+0x596): error: undefined reference to '_XFlush'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetStringAttribute:libnvcontrol.c(.text+0x649): error: undefined reference to '_XReply'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetStringAttribute:libnvcontrol.c(.text+0x680): error: undefined reference to '_XRead'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetValidAttributeValues:libnvcontrol.c(.text+0x7d9): error: undefined reference to '_XFlush'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function NVGetValidAttributeValues:libnvcontrol.c(.text+0x88c): error: undefined reference to '_XReply'
/usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o): in function wire_to_event:libnvcontrol.c(.text+0xd40): error: undefined reference to '_XSetLastRequestRead'
collect2: ld returned 1 exit status
make[3]: *** [nvclock_gtk] Error 1
More information about the Pkg-nvidia-devel
mailing list