AMBER Archive (2000)

Subject: Re: Amber on linux

From: dek_at_cgl.ucsf.edu
Date: Fri Jan 14 2000 - 01:41:48 CST


"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...