|
From: | Douglas Mencken |
Subject: | Re: [build error] ./.libs/libguile-2.0.so: undefined reference to `clock_getcpuclockid' |
Date: | Sat, 21 May 2011 12:38:22 +0200 |
> Can you grep your libguile/Makefile for LIB_CLOCK_GETTIME ? There's empty definition. LIB_CLOCK_GETTIME = > Is it perhaps that clock_getcpuclockid is in -lrt but clock_gettime is > in your libc? clock_gettime is in both of them: /lib # readelf -s librt.so.0 | grep clock 42: 00001cb4 68 FUNC GLOBAL DEFAULT 6 clock_gettime 44: 00001a78 172 FUNC GLOBAL DEFAULT 6 clock_nanosleep 64: 00001b74 88 FUNC GLOBAL DEFAULT 6 clock_getcpuclockid /lib # readelf -s libc.so.0 | grep clock 166: 0000fcf4 72 FUNC GLOBAL DEFAULT 6 clock_gettime 514: 00011868 72 FUNC GLOBAL DEFAULT 6 clock_settime 537: 0000fa84 72 FUNC GLOBAL DEFAULT 6 clock_getres 762: 0002a588 56 FUNC GLOBAL DEFAULT 6 clock but getcpuclockid is only in librt.
[Prev in Thread] | Current Thread | [Next in Thread] |