Re: compile on linux RH 6.2

From: Andreas Svrcek-Seiler <svrci_at_tbi.univie.ac.at>
Date: Thu 12 Oct 2000 08:09:08 +0200 (CEST)

hi,
> etime.c: In function `timel_':
> etime.c:30: `CLOCKS_PER_SEC' undeclared (first use in this function)
> etime.c:30: (Each undeclared identifier is reported only once
> etime.c:30: for each function it appears in.)
> etime.c: In function `etime_':
> etime.c:38: `time_t' undeclared (first use in this function)
> etime.c:38: parse error before `ticks'
> etime.c:47: `ticks' undeclared (first use in this function)
> make[1]: *** [sys.a] Error 1
> make[1]: Leaving directory `/usr/local/AMBER/src/Machine/f2c'
> make: *** [syslib] Error 2
...if your includes in etime.c look like that:
#include <sys/times.h>
#include <time.h>
#include <unistd.h>

everything should work, i think it was time.h that was missing
when i had the same problem
i hope it all works now
best regards
andreas

            )))))
            (((((
           ( O O )
-------oOOO--(_)--OOOo-----------------------------------------------------
              o Wolfgang Andreas Svrcek-Seiler
              o (godzilla)
                       svrci_at_tbi.univie.ac.at
      .oooO Tel.:01-4277-52733
      ( ) Oooo.
-------\ (----( )--------------------------------------------------------
        \_) ) /
              (_/
Received on Wed Oct 11 2000 - 23:09:08 PDT
Custom Search