GNOME Bugzilla – Bug 740162
Problem linking gtk-query-immodules-3.0
Last modified: 2014-12-05 04:33:14 UTC
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -g -Wall -L/home/calvaris/gnome/install/lib -o gtk-query-immodules-3.0 queryimmodules.o libgtk-3.la ../gdk/libgdk-3.la -L/home/calvaris/gnome/install/lib -lpangocairo-1.0 -lX11 -lXi -lXcomposite -lXdamage -lXfixes -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -latk-1.0 -latk-bridge-2.0 -lxkbcommon -lwayland-cursor -lwayland-egl -lwayland-client -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm -L/home/calvaris/gnome/install/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 libtool: link: gcc -g -O2 -g -Wall -o .libs/gtk-query-immodules-3.0 queryimmodules.o -Wl,--export-dynamic -pthread -L/home/calvaris/gnome/install/lib ./.libs/libgtk-3.so ../gdk/.libs/libgdk-3.so -lpangocairo-1.0 -lX11 -lXi -lXcomposite -lXdamage -lXfixes -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -latk-1.0 -latk-bridge-2.0 -lxkbcommon -lwayland-cursor -lwayland-egl -lwayland-client -lpangoft2-1.0 -lpango-1.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so -lgio-2.0 -lgobject-2.0 -lm -lgmodule-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/home/calvaris/gnome/install/lib ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glViewport' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glBindTexture' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glTexParameteri' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glTexImage2D' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glBindRenderbufferEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glRenderbufferStorageEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glDeleteRenderbuffersEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glBindFramebufferEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glDeleteFramebuffersEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glDeleteTextures' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glFramebufferRenderbufferEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glFramebufferTexture2D' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glGenFramebuffersEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glGenTextures' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glGenRenderbuffersEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glDisable' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glCheckFramebufferStatusEXT' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glInvalidateFramebuffer' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glEnable' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_has_glx_extension' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_has_egl_extension' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glXQueryExtension' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_glXGetClientString' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_eglGetDisplay' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_eglInitialize' ./.libs/libgtk-3.so: error: undefined reference to 'epoxy_eglQueryString' collect2: error: ld returned 1 exit status Makefile:2504: recipe for target 'gtk-query-immodules-3.0' failed
It seems this only happens if linking with gold.