Compile error: dlls/kernel/time.c

Vijay Kiran Kamuju infyquest at
Sun Oct 30 02:27:54 CST 2005

Well, if you could tell us what version of glibc broke it. We could
fix it ine, by adding a check during configure.


On 10/30/05, Ivan Gyurdiev <ivg2 at> wrote:
> 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