[Mesa-dev] [Bug 57859] New: os_time.c:77: undefined reference to `clock_gettime'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 3 18:00:56 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=57859
Priority: medium
Bug ID: 57859
Assignee: mesa-dev at lists.freedesktop.org
Summary: os_time.c:77: undefined reference to `clock_gettime'
Severity: normal
Classification: Unclassified
OS: All
Reporter: alexandre.f.demers at gmail.com
Hardware: Other
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
With latest build (21694b8eacbf63f8abdee6340510c0458a25a7fb), kernel 3.7.0-rc7
64bit, building mesa is OK, but installing fails with the following error
message:
make[3]: Entering directory
`/home/dema1701/projects/display/mesa/src/gallium/targets/gbm'
/usr/bin/install -c -d /usr/lib/x86_64-linux-gnu/gbm
/bin/sh ../../../../bin/minstall
../../../../x86_64-linux-gnu/gbm/gbm_gallium_drm.so
/usr/lib/x86_64-linux-gnu/gbm
make[4]: Entering directory
`/home/dema1701/projects/display/mesa/src/gallium/targets/pipe-loader'
/bin/sh ../../../../bin/mklib -o pipe_r600.so -noprefix -linker 'g++' \
-ldflags '-L../../../../x86_64-linux-gnu -Wl,--no-undefined -L/usr/lib/llvm
-lpthread -lffi -ldl -lm ' \
pipe_r600.o \
-Wl,--start-group ../../../../src/gallium/drivers/identity/libidentity.a
../../../../src/gallium/drivers/galahad/libgalahad.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/drivers/rbug/librbug.a
../../../../src/gallium/auxiliary/libgallium.a
../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a
../../../../src/gallium/drivers/r600/libr600.a -Wl,--end-group \
-L/usr/lib/x86_64-linux-gnu/ -ldrm -lm -lpthread -ldl -lLLVMMCJIT
-lLLVMBitWriter -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG
-lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Disassembler -lLLVMX86Desc
-lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMRuntimeDyld
-lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC
-lLLVMObject -lLLVMCore -lLLVMSupport -ldrm_radeon
mklib: Making Linux shared library: pipe_r600.so
../../../../src/gallium/auxiliary/libgallium.a(os_time.o): In function
`os_time_get_nano':
/home/dema1701/projects/display/mesa/src/gallium/auxiliary/os/os_time.c:77:
undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status
/bin/sh ../../../../bin/mklib -o pipe_swrast.so -noprefix -linker 'g++' \
-ldflags '-L../../../../x86_64-linux-gnu -Wl,--no-undefined -L/usr/lib/llvm
-lpthread -lffi -ldl -lm ' \
pipe_swrast.o \
-Wl,--start-group ../../../../src/gallium/drivers/identity/libidentity.a
../../../../src/gallium/drivers/galahad/libgalahad.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/drivers/rbug/librbug.a
../../../../src/gallium/auxiliary/libgallium.a
../../../../src/gallium/drivers/llvmpipe/libllvmpipe.a -Wl,--end-group \
-L/usr/lib/x86_64-linux-gnu/ -ldrm -lm -lpthread -ldl -lLLVMMCJIT
-lLLVMBitWriter -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG
-lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Disassembler -lLLVMX86Desc
-lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMRuntimeDyld
-lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC
-lLLVMObject -lLLVMCore -lLLVMSupport
mklib: Making Linux shared library: pipe_swrast.so
../../../../src/gallium/auxiliary/libgallium.a(os_time.o): In function
`os_time_get_nano':
/home/dema1701/projects/display/mesa/src/gallium/auxiliary/os/os_time.c:77:
undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status
/usr/bin/install -c -d //usr/lib/x86_64-linux-gnu/gbm
for tgt in pipe_r600.so pipe_vmwgfx.so pipe_swrast.so; do \
/bin/sh ../../../../bin/minstall "$tgt" //usr/lib/x86_64-linux-gnu/gbm; \
done
Unknown type of argument: pipe_r600.so
Unknown type of argument: pipe_swrast.so
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121204/a5922754/attachment.html>
More information about the mesa-dev
mailing list