Am Samstag, 26. November 2005 00:01 schrieb Donald Bruce Stewart: > [...] > ../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W > -optc-Wstrict-prototypes -optc-Wmissing-prototypes > -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return > -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel > -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -H16m -O -optc-O2 -static > -I. -#include Prelude.h -#include Rts.h -#include RtsFlags.h -#include > RtsUtils.h -#include StgRun.h -#include Schedule.h -#include Printer.h > -#include Sanity.h -#include STM.h -#include Storage.h -#include SchedAPI.h > -#include Timer.h -#include ProfHeap.h -#include LdvProfile.h -#include > Profiling.h -#include OSThreads.h -#include Apply.h -#include SMP.h -fvia-C > -dcmm-lint -c posix/GetTime.c -o posix/GetTime.o posix/GetTime.c: In > function `getProcessElapsedTime': > posix/GetTime.c:52: warning: implicit declaration of function > `gettimeofday' posix/GetTime.c: In function `getThreadCPUTime': > posix/GetTime.c:120: warning: implicit declaration of function > `clock_gettime' posix/GetTime.c:120: error: `CLOCK_THREAD_CPUTIME_ID' > undeclared (first use in this function) posix/GetTime.c:120: error: (Each > undeclared identifier is reported only once posix/GetTime.c:120: error: for > each function it appears in.) > gmake[1]: *** [posix/GetTime.o] Error 1 > gmake: *** [all] Error 1
Has anybody an idea what's going wrong here? The autoconf tests seem to detect gettimeofday and clock_gettime on that platform, but the compilation fails nevertheless. Without access to config.log it's hard to guess what's causing this... :-( Cheers, S.
