[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20051202: problem with NETCDF library



Unidata Support <address@hidden> writes:

> From: Battalgazi Yildirim <address@hidden>
> Subject: problem with NETCDF library, 
> To: address@hidden
> Date: Fri, 2 Dec 2005 13:30:58 -0500 (EST)
>
>
> From: Battalgazi Yildirim <address@hidden>
> Organization: Brown University
> Keywords: 200512021830.jB2IUq7s009751  netCDF Linux
>
> Hi,
>
> I have been compiling NETCDF library sucessfully on our one linux machine, 
> but, we got new machine and I have following error when I run the following 
> lines,
>
> make test
>
> make test
> make[1]: Entering directory `/users/yildirim/netcdf-3.6.0-p1/src'
>
> Making `all' in directory /users/yildirim/netcdf-3.6.0-p1/src/fortran
>
> make[2]: Entering directory `/users/yildirim/netcdf-3.6.0-p1/src/fortran'
> cc -c -g -I../libsrc   -DpgiFortran fort-attio.c
> In file included from fort-attio.c:6:
> ncfortran.h:27:42: NF_INT_IS_C_... not defined: No such file or directory
> fort-attio.c:12: error: syntax error before "NF_INTEGER"
> fort-attio.c:12: error: syntax error before '*' token
> fort-attio.c:12: error: syntax error before numeric constant
> fort-attio.c:12: warning: data definition has no type or storage class
> fort-attio.c:12: error: syntax error before numeric constant
> fort-attio.c:12: error: syntax error before '!' token
> fort-attio.c:12: error: syntax error before numeric constant
> fort-attio.c:19: error: syntax error before numeric constant
> fort-attio.c:19: warning: data definition has no type or storage class
> fort-attio.c:19: error: syntax error before numeric constant
> fort-attio.c:19: error: syntax error before '!' token
> fort-attio.c:19: error: syntax error before numeric constant
> fort-attio.c:120: error: syntax error before numeric constant


Try the solution outlined here:

http://www.unidata.ucar.edu/software/netcdf/docs/known_symptoms#NF_INT_IS_C

Good luck!

Ed
-- 
Ed Hartnett  -- address@hidden