Brian Paul wrote:
On 09/15/2012 05:56 AM, Andy Furniss wrote:
make[3]: Entering directory
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/dri-r600'
/bin/sh ../../../../bin/mklib -o r600_dri.so.tmp -noprefix -linker
'g++' -ldflags '-L/home/andy/Src/Xorg-git/modular/lib -L/usr/lib
-lpthread -ldl -lm ' \
target.o ../../../../src/mesa/drivers/dri/common/utils.o
../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../src/mesa/drivers/dri/common/xmlconfig.o
../../../../src/gallium/drivers/r600/libr600.a
../../../../src/gallium/state_trackers/dri/drm/libdridrm.a
../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/drivers/rbug/librbug.a
../../../../src/gallium/drivers/noop/libnoop.a \
-Wl,--start-group ../../../../src/mesa/libmesagallium.a
../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \
-L/home/andy/Src/Xorg-git/modular/lib -ldrm -lexpat -lm -lpthread -ldl
-ldrm_radeon -lLLVMMCJIT -lLLVMBitWriter -lLLVMX86AsmParser
-lLLVMX86Disassembler -lLLVMX86CodeGen -lLLVMSelectionDAG
-lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Desc -lLLVMX86Info
-lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMRuntimeDyld
-lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC
-lLLVMObject -lLLVMCore -lLLVMSupport
mklib: Making Linux shared library: r600_dri.so.tmp
g++ -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -g
-fPIC -D_GNU_SOURCE -DPTHREADS -DDEBUG -DTEXTURE_FLOAT_ENABLED
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS
-DHAVE_LLVM=0x0301 -fvisibility=hidden -o r600_dri.so.test
../../../../src/mesa/drivers/dri/common/dri_test.o r600_dri.so.tmp
-L/home/andy/Src/Xorg-git/modular/lib -ldrm -lexpat -lm -lpthread -ldl
-ldrm_radeon -L/home/andy/Src/Xorg-git/modular/lib -L/usr/lib
-lpthread -ldl -lm ;
r600_dri.so.tmp: undefined reference to
`_mesa_cpal_compressed_teximage2d'
r600_dri.so.tmp: undefined reference to `_mesa_cpal_compressed_size'
r600_dri.so.tmp: undefined reference to `_mesa_create_exec_table_es1'
r600_dri.so.tmp: undefined reference to
`_mesa_cpal_compressed_format_type'
collect2: ld returned 1 exit status
make[3]: *** [r600_dri.so] Error 1
I just pushed a fix for this.
Thanks, but I am still getting -
r600_dri.so.tmp: undefined reference to `_mesa_create_exec_table_es1'
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev