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
failed-gamgi.gz
Description: GNU Zip compressed data
--- a/src/make_rules.orig 2009-11-04 21:01:49.337795522 +0100 +++ b/src/make_rules 2009-11-04 21:02:29.453790527 +0100 @@ -33,7 +33,7 @@ LIBS = -lgtkglext-x11-1.0 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 \ -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 \ -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lXext -lX11 \ - -lXi -lXmu -lfreetype -lexpat -lm -ldl + -lXi -lXmu -lfreetype -lexpat -lm -ldl -lgdkglext-x11-1.0 #================================ full paths ===============================