Re: Amber on linux

From: <dek_at_cgl.ucsf.edu>
Date: Thu 13 Jan 2000 23:41:48 -0800

"Dr.Rajendra R. Joshi" writes:
>Hi,
>I managed to get hold of an f2c.h for linux rh6.
>But the etime.c does not go through.
>Give errors
>
>gcc -c etime.c
>etime.c: In function `etime_':
>etime.c:39: `time_t' undeclared (first use in this function)
>etime.c:39: (Each undeclared identifier is reported only once
>etime.c:39: for each function it appears in.)
>etime.c:39: parse error before `ticks'
>etime.c:48: `ticks' undeclared (first use in this function)
>make: *** [sys.a] Error 1

just add "#include <time.h>" at the top of etime.c
It's fixed in amber6...
Received on Thu Jan 13 2000 - 23:41:48 PST
Custom Search