[Debichem-devel] Bug#554372: FTBFS with binutils-gold
Peter Fritzsche
peter.fritzsche at gmx.de
Wed Nov 4 20:04:56 UTC 2009
Daniel Leidert wrote:
> Can you please send me the full buildlog?
Yes, I will generate a full build log and attach it to this mail.
[...]
> > gcc [..] -lgtkglext-x11-1.0 [..]
> > /usr/bin/ld: gamgi_mesa_area.o: in function
> > gamgi_mesa_area_create:./mesa/gamgi_mesa_area.c:324: error: undefined
> > reference to 'gdk_gl_config_new_by_mode'
>
> This function reference should be solved by linking with
> libgtkglext-x11-1.0.so.
>
> This is defined as
>
> > #ifndef GDK_MULTIHEAD_SAFE
> > GdkGLConfig *gdk_gl_config_new_by_mode (GdkGLConfigMode
> > mode); #endif /* GDK_MULTIHEAD_SAFE */
You are linking against following libraries:
gtkglext-x11-1.0 GLU GL gtk-x11-2.0 gdk-x11-2.0 atk-1.0 gdk_pixbuf-2.0
pangocairo-1.0 pango-1.0 cairo gobject-2.0 gmodule-2.0 glib-2.0 Xext X11 Xi
Xmu freetype expat m dl
and your binary says:
gtkglext-x11-1.0 GLU GL gtk-x11-2.0 gdk-x11-2.0 gobject-2.0 glib-2.0 freetype
expat m gdkglext-x11-1.0
The most important difference is gdkglext-x11-1.0. So adding
-lgdkglext-x11-1.0 fixes the problem as this is the library which provides
these symbols and not gtkglext-x11-1.0 (which is a "layer" above it).
Best regards,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failed-gamgi.gz
Type: application/x-gzip
Size: 12541 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20091104/b0ad9d1a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: missing_library.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20091104/b0ad9d1a/attachment-0003.bin>
More information about the Debichem-devel
mailing list