[Mesa-dev] [Bug 29033] New: can't build dri drivers with just GLES
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 12 19:44:59 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29033
Summary: can't build dri drivers with just GLES
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: nobled at dreamwidth.org
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);
}
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list