Bug#556517: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Mon Nov 16 10:15:33 UTC 2009


Source: v-sim
Version: 3.4.4-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 symbols when linking them to a program.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../libtool --tag=CC   --mode=link cc  -g -O2 -g -Wall -O2 -Wall -W -ansi   -o v_sim visu_main.o libvsim.a -lGLU -lGL  -lm  -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   -lglib-2.0   -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 
mkdir .libs
cc -g -O2 -g -Wall -O2 -Wall -W -ansi -o v_sim visu_main.o -Wl,--export-dynamic  libvsim.a -lGLU -lGL /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so  
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLinit_fontList:OSOpenGL/visu_GLX.c:209: error: undefined reference to 'XLoadQueryFont'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLinit_fontList:OSOpenGL/visu_GLX.c:213: error: undefined reference to 'XLoadQueryFont'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLinit_fontList:OSOpenGL/visu_GLX.c:208: error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLFree_pixmapContext:OSOpenGL/visu_GLX.c:182: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:127: error: undefined reference to 'XCreatePixmap'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:158: error: undefined reference to 'XSetErrorHandler'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:169: error: undefined reference to 'XSetErrorHandler'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:171: error: undefined reference to 'XFree'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:112: error: undefined reference to 'XOpenDisplay'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:163: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:143: error: undefined reference to 'XFree'
/usr/bin/ld: libvsim.a(visu_GLX.o): in function visuOpenGLNew_pixmapContext:OSOpenGL/visu_GLX.c:141: error: undefined reference to 'XFreePixmap'
collect2: ld returned 1 exit status
make[4]: *** [v_sim] Error 1





More information about the debian-science-maintainers mailing list