Compile error: dlls/kernel/time.c
Vijay Kiran Kamuju
infyquest at gmail.com
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 cornell.edu> 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: *** [time.o] Error 1
> make: Leaving directory `/home/phantom/src/wine/dlls/kernel'
> make: *** [kernel] Error 2
> make: Leaving directory `/home/phantom/src/wine/dlls'
> make: *** [dlls] Error 2
More information about the wine-devel