Compile error: dlls/kernel/time.c

Ivan Gyurdiev ivg2 at
Sat Oct 29 18:29:34 CDT 2005

I suspect a recent change in glibc (features.h) broke it... but 
according to time.h, CLK_TCK is obsolete, and CLOCKS_PER_SEC is to be 
used instead.

gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ 
-D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 
-fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement 
-Wpointer-arith -g -O2 -o time.o time.c
time.c: In function ‘TIME_ClockTimeToFileTime’:
time.c:522: error: ‘CLK_TCK’ undeclared (first use in this function)
time.c:522: error: (Each undeclared identifier is reported only once
time.c:522: error: for each function it appears in.)
make[2]: *** [time.o] Error 1
make[2]: Leaving directory `/home/phantom/src/wine/dlls/kernel'
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/home/phantom/src/wine/dlls'
make: *** [dlls] Error 2

More information about the wine-devel mailing list