Building with `./configure --enable-gles-overlay --disable-opengl' fails when it tries to link the radeon dri driver. It looks like the missing references are in src/mesa/main/api_exec.c, and based on the comment in the code it's a known problem? --- /bin/bash ../../../../../bin/mklib -o radeon_dri.so.tmp -noprefix -linker 'gcc' -ldflags '' \ ../common/utils.o ../common/vblank.o ../common/dri_util.o ../common/xmlconfig.o ../../common/driverfuncs.o ../common/texmem.o ../common/drirenderbuffer.o ../common/dri_metaops.o radeon_context.o radeon_ioctl.o radeon_screen.o radeon_state.o radeon_state_init.o radeon_tex.o radeon_texstate.o radeon_tcl.o radeon_swtcl.o radeon_maos.o radeon_sanity.o radeon_blit.o radeon_bo_legacy.o radeon_common_context.o radeon_common.o radeon_cs_legacy.o radeon_dma.o radeon_debug.o radeon_fbo.o radeon_lock.o radeon_mipmap_tree.o radeon_pixel_read.o radeon_queryobj.o radeon_span.o radeon_texture.o radeon_tex_copy.o radeon_tex_getimage.o radeon_tile.o ../../../../../src/mesa/libmesa.a -lselinux -ldrm -lexpat -lm -lpthread -ldl -ldrm_radeon -ldrm mklib: Making Linux shared library: radeon_dri.so.tmp gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DHAVE_LIBDRM_RADEON=1 -I/usr/include/libdrm -DFEATURE_GL=0 -o radeon_dri.so.test ../../../../../src/mesa/drivers/dri/common/dri_test.o radeon_dri.so.tmp -lselinux -ldrm -lexpat -lm -lpthread -ldl -ldrm_radeon -ldrm radeon_dri.so.tmp: undefined reference to `driDispatchRemapTable' radeon_dri.so.tmp: undefined reference to `_mesa_map_static_functions' collect2: ld returned 1 exit status make[6]: *** [radeon_dri.so] Error 1 --- /* This is shared across all APIs but We define this here since * desktop GL has the biggest remap table. */ int driDispatchRemapTable[driDispatchRemapTable_size]; /** * Map the functions which are already static. * * When a extension function are incorporated into the ABI, the * extension suffix is usually stripped. Mapping such functions * makes sure the alternative names are available. * * Note that functions mapped by _mesa_init_remap_table() are * excluded. */ void _mesa_map_static_functions(void) { /* Remap static functions which have alternative names and are in the ABI. * This is to be on the safe side. glapi should have defined those names. */ _mesa_map_function_array(MESA_alt_functions); }
Is this still an issue with current Mesa git?
It builds fine on current Mesa git. OpenGL version string: 1.4 (2.1 Mesa 7.11) build string: "./configure --enable-gles2 --enable-gles1 --disable-opengl --enable-debug" Creates following libs: libEGL.so libEGL.so.1 libEGL.so.1.0 libglapi.so libglapi.so.0 libglapi.so.0.0.0 libGLESv1_CM.so libGLESv1_CM.so.1 libGLESv1_CM.so.1.1.0 libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0
*** Bug 29130 has been marked as a duplicate of this bug. ***
./configure --enable-gles2 --enable-gles1 --disable-opengl works for me on master and 9.1 branch. Although on 9.0 it doesn't work. I've sent a patch to the list to not allow this configuration on 9.0 http://lists.freedesktop.org/archives/mesa-dev/2013-February/033909.html Please reopen if the issue still persists.
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.