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

[netCDF #MGZ-739143]: question about netcdf 3.6.1 install in Cygwin



Hi Wei,

> I want to install netcdf 3.6.1 in cygwin.  But when I use "make check" 
> command, there are always the same problems like
> test_get.o:test_get.F:(.text+0x2f)?undefined reference to ‘_nf_open_’
> test_get.o:test_get.F:(.text+0xb5)?undefined reference to ‘_nf_get_var1_text_’
> test_get.o:test_get.F:(.text+0xfa)?undefined reference to ‘_nf_get_var1_text_’
> test_get.o:test_get.F:(.text+0x1b8)?undefined reference to 
> ‘_nf_get_var1_text_’
> test_get.o:test_get.F:(.text+0x25a)?undefined reference to 
> ‘_nf_get_var1_text_’
> test_get.o:test_get.F:(.text+0x377)?undefined reference to ‘_nf_close_’
> test_get.o:test_get.F:(.text+0x4df)?undefined reference to ‘_nf_open_’
> .....
> I have search the problem in the internet, but I can not solve it. Would you 
> please help me to check it.

For cygwin, the instructions for installing netCDF-4 with the Fortran interface
should work.  The netCDF-4 library includes support for the netCDF-3 API and
formats.  If you want to build only the netCDF-3 library without netCDF-4, the
instructions are here:

  http://www.unidata.ucar.edu/software/netcdf/docs/build_classic.html

and then for Fortran, follow these instructions:

  http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html

If you still get errors, please send us the output from running configure and
from running "make check".  Sometimes the "config.log" file is also helpful.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: MGZ-739143
Department: Support netCDF
Priority: High
Status: Closed