Bug 71512 - dlopen.h:54: undefined reference to `dlopen'
Summary: dlopen.h:54: undefined reference to `dlopen'
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: Matt Turner
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 22:31 UTC by Vinson Lee
Modified: 2013-11-22 18:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2013-11-11 22:31:33 UTC
mesa: 23afe71f444067cad927273728529ff15ba394df (master)

$ ./autogen.sh --disable-dri3 --disable-xvmc --with-dri-drivers=i965 --with-gallium-drivers=
$ make check
[...]
  CXXLD    test_eu_compact
test_vec4_register_coalesce.cpp: In member function ‘virtual brw::vec4_instruction* register_coalesce_vec4_visitor::emit_urb_write_opcode(bool)’:
test_vec4_register_coalesce.cpp:91:4: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^
../../../.libs/libmesa.a(texcompress_s3tc.o): In function `_mesa_dlopen':
src/mesa/main/dlopen.h:54: undefined reference to `dlopen'
../../../.libs/libmesa.a(texcompress_s3tc.o): In function `_mesa_dlsym':
src/mesa/main/dlopen.h:84: undefined reference to `dlsym'
src/mesa/main/dlopen.h:84: undefined reference to `dlsym'
src/mesa/main/dlopen.h:84: undefined reference to `dlsym'
src/mesa/main/dlopen.h:84: undefined reference to `dlsym'
src/mesa/main/dlopen.h:84: undefined reference to `dlsym'
../../../.libs/libmesa.a(texcompress_s3tc.o): In function `_mesa_dlclose':
src/mesa/main/dlopen.h:102: undefined reference to `dlclose'
Comment 1 Matt Turner 2013-11-11 23:11:12 UTC
Patch on the list.
Comment 2 Eric Anholt 2013-11-22 18:23:16 UTC
commit 1f9092958d365c94af825c3b3b6664688c27b5a1
Author: Matt Turner <mattst88@gmail.com>
Date:   Mon Nov 18 15:19:15 2013 -0800

    i965: Link -ldl after libmesa.la


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.