NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

Re: 20051025:problem installing NetCDF 3.6.0-p1 library



Sebastien Biraud <address@hidden> writes:

> Hi Ed,
>
> I entered the command you recommanded to install NetCDF 3.6.0-p1
> library but it did not make the the install any better. You will find
> attached an output file containing the results of both the command:
>
> FC=ifort F90=ifort CC=gcc CXX=g++ FFLAGS=-O CPPFLAGS='-DNDEBUG
> -DpgiFortran' ./configure
>
> and the "make" command.
>
> Thanks for your help,
> Sebastien

<snip>

> Making `all' in directory /home/nh3flx/tmp/netcdf-3.6.0-p1/src/fortran
>  
> make[2]: Entering directory `/home/nh3flx/tmp/netcdf-3.6.0-p1/src/fortran'
> gcc -c -g -I../libsrc  -DNDEBUG -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
> fort-attio.c:120: warning: data definition has no type or storage class
> fort-attio.c:120: error: syntax error before numeric constant
> fort-attio.c:120: error: syntax error before '!' token
> fort-attio.c:120: error: syntax error before numeric constant
> fort-attio.c:132: error: syntax error before numeric constant
> fort-attio.c:132: warning: data definition has no type or storage class
> fort-attio.c:132: error: syntax error before numeric constant
> fort-attio.c:132: error: syntax error before '!' token
> fort-attio.c:132: error: syntax error before numeric constant
> fort-attio.c:140: error: syntax error before numeric constant
> fort-attio.c:140: warning: data definition has no type or storage class
> fort-attio.c:140: error: syntax error before numeric constant
> fort-attio.c:140: error: syntax error before '!' token
> fort-attio.c:140: error: syntax error before numeric constant
> fort-attio.c:147: error: syntax error before numeric constant
> fort-attio.c:147: warning: data definition has no type or storage class
> fort-attio.c:147: error: syntax error before numeric constant
> fort-attio.c:147: error: syntax error before '!' token
> fort-attio.c:147: error: syntax error before numeric constant
> make[2]: *** [fort-attio.o] Error 1
> make[2]: Leaving directory `/home/nh3flx/tmp/netcdf-3.6.0-p1/src/fortran'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/home/nh3flx/tmp/netcdf-3.6.0-p1/src'
> make: *** [fortran/all] Error 2

Howdy Sebastien!

This is a configuration problem with your intel compiler. See the note
here:

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

Please let me know if this doesn't help.

Thanks!

Ed

-- 
Ed Hartnett  -- address@hidden