I tried to build mesa from git using the following: ./configure --prefix=/usr --enable-driglx-direct --enable-gallium --enable-gles-overlay --enable-gles1 --enable-gles2 --enable-glx-tls --with-driver=dri --with-dri-driverdir=/usr/lib/dri --with-egl-platforms='drm x11' --with-state-trackers=egl,glx,dri,vega --with-dri-drivers=r600 --enable-gallium-r600 --enable-shared-glapi configure: WARNING: unrecognized options: --enable-gallium, --enable-gles-overlay, --with-state-trackers, --enable-gallium-r600 as per the directions at: http://pkg-xorg.alioth.debian.org/howto/build-mesa.html The build process failed at: /bin/sh ../../../../bin/mklib -o swrast_dri.so.tmp -noprefix -linker 'g++' -ldflags ' -L/usr/lib/llvm-2.8/lib -lpthread -lffi -ldl -lm ' \ swrast_drm_api.o ../../../../src/mesa/drivers/dri/common/utils.o ../../../../src/mesa/drivers/dri/common/drisw_util.o ../../../../src/mesa/drivers/dri/common/xmlconfig.o ../../../../src/gallium/state_trackers/dri/sw/libdrisw.a ../../../../src/gallium/winsys/sw/dri/libswdri.a ../../../../src/gallium/drivers/softpipe/libsoftpipe.a ../../../../src/gallium/drivers/trace/libtrace.a ../../../../src/gallium/drivers/rbug/librbug.a ../../../../src/gallium/drivers/llvmpipe/libllvmpipe.a \ -Wl,--start-group ../../../../src/mesa/libmesagallium.a ../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \ ../../../../src/mesa/libmesa.a -ldrm -lexpat -lm -lpthread -ldl -lLLVMpic16passes -lLLVMMCDisassembler -lLLVMXCoreCodeGen -lLLVMXCoreAsmPrinter -lLLVMXCoreInfo -lLLVMSystemZCodeGen -lLLVMSystemZAsmPrinter -lLLVMSystemZInfo -lLLVMSparcCodeGen -lLLVMSparcAsmPrinter -lLLVMSparcInfo -lLLVMPowerPCCodeGen -lLLVMPowerPCAsmPrinter -lLLVMPowerPCInfo -lLLVMPIC16AsmPrinter -lLLVMPIC16CodeGen -lLLVMPIC16Info -lLLVMMipsAsmPrinter -lLLVMMipsCodeGen -lLLVMMipsInfo -lLLVMMSP430CodeGen -lLLVMMSP430AsmPrinter -lLLVMMSP430Info -lLLVMMBlazeAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeInfo -lLLVMLinker -lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT -lLLVMExecutionEngine -lLLVMCppBackend -lLLVMCppBackendInfo -lLLVMCellSPUCodeGen -lLLVMCellSPUAsmPrinter -lLLVMCellSPUInfo -lLLVMCBackend -lLLVMCBackendInfo -lLLVMBlackfinCodeGen -lLLVMBlackfinAsmPrinter -lLLVMBlackfinInfo -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMAsmParser -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMAsmPrinter -lLLVMARMInfo -lLLVMArchive -lLLVMBitReader -lLLVMAlphaCodeGen -lLLVMSelectionDAG -lLLVMAlphaAsmPrinter -lLLVMAsmPrinter -lLLVMMCParser -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMAlphaInfo -lLLVMSupport -lLLVMSystem -L/usr/lib/llvm-2.8/lib mklib: Making Linux shared library: swrast_dri.so.tmp collect2: ld returned 1 exit status g++ -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-builtin-memcmp -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -fvisibility=hidden -o swrast_dri.so.test ../../../../src/mesa/drivers/dri/common/dri_test.o swrast_dri.so.tmp ../../../../src/mesa/libmesa.a -ldrm -lexpat -lm -lpthread -ldl -L/usr/lib/llvm-2.8/lib -lpthread -lffi -ldl -lm ; g++: error: swrast_dri.so.tmp: No such file or directory make[3]: *** [swrast_dri.so] Error 1 make[3]: Leaving directory `/usr/src/mesa.git/src/gallium/targets/dri-swrast' make[2]: *** [default] Error 1 make[2]: Leaving directory `/usr/src/mesa.git/src/gallium/targets' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/src/mesa.git/src' make: *** [default] Error 1
(In reply to Arthur Marsh from comment #0) > I tried to build mesa from git using the following: > > ./configure --prefix=/usr --enable-driglx-direct > --enable-gallium --enable-gles-overlay > --enable-gles1 --enable-gles2 --enable-glx-tls > --with-driver=dri --with-dri-driverdir=/usr/lib/dri > --with-egl-platforms='drm x11' > --with-state-trackers=egl,glx,dri,vega --with-dri-drivers=r600 > --enable-gallium-r600 --enable-shared-glapi > configure: WARNING: unrecognized options: --enable-gallium, > --enable-gles-overlay, --with-state-trackers, --enable-gallium-r600 > Looks like there was a problem with the configure options. The r600 driver builds fine and there have been a lot of updates to the build system since this bug report. Closing.
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.