Summary: | dri2_glx.c:1186: undefined reference to `loader_open_device' | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | derekf, emil.l.velikov, krh |
Version: | git | Keywords: | bisected, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2015-06-23 19:05:04 UTC
What configure options are you using? Can you attach a build log? Do you have any local changes? Having a hard time figuring this out, I can't reproduce it here, and dri2_glx.c uses other functions from loader.c so there should at least be a pile of other undefined references. Can you do a make clean and try again? Perhaps you have some kind of timestamp issue that led to a partial rebuild... Clean checkout and build on CentOS 6. $ ./autogen.sh --disable-dri3 --enable-sysfs --with-dri-drivers=swrast --with-gallium-drivers= $ make [...] CC XF86dri.lo dri_common.c: In function ‘dri2_convert_glx_attribs’: dri_common.c:469: warning: ‘profile’ may be used uninitialized in this function CCLD libglx.la CCLD libGL.la ./.libs/libglx.a(dri2_glx.o): In function `dri2CreateScreen': src/glx/dri2_glx.c:1186: undefined reference to `loader_open_device' collect2: ld returned 1 exit status Hi, I just sent a patch on the mailing list as I encountered the same problem on darwin. I do wonder if/when we can fold some of the conditional compilation mayhem in the loader, but until then I've pushed Julien's patch. Thanks for the prompt fix ! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.