Installing any netCDF under cygwin

Didier Auroux auroux at mip.ups-tlse.fr
Fri May 18 06:58:56 MDT 2007


Hi,

I'm trying to install netCDF under cygwin on windows XP. I downloaded
several netcdf sources (3.6.0, 3.6.1, 3.6.2, 4.0) and got the same
problem with all.
I first ran './configure' (without any flag), and then 'make test', and
it failed in nf_test directory. I also tried with some flags such as
CC=gcc, FC=g77, CXX=g++, without any difference in the compilation.
I have installed gfortran (f90 compiler) but I still have the same problem.

The problem is there:
/bin/sh ../libtool --tag=F77 --mode=link g77   -I../libsrc
-Wno-globals   -o nf_test.exe  test_get.o test_put.o nf_error.o
nf_test.o test_read.o test_write.o util.o fortlib.o
../libsrc/libnetcdf.la
libtool: link: g77 -I../libsrc -Wno-globals -o nf_test.exe test_get.o
test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o
fortlib.o  ../libsrc/.libs/libnetcdf.a
test_get.o: In function `test_nf_get_att_double_':
netcdf-3.6.2/nf_test/test_get.F:5511: undefined reference to `_nf_open_'
netcdf-3.6.2/nf_test/test_get.F:5521: undefined reference to
`_nf_get_att_double_'
netcdf-3.6.2/nf_test/test_get.F:5526: undefined reference to
`_nf_get_att_double_'
netcdf-3.6.2/nf_test/test_get.F:5529: undefined reference to
`_nf_get_att_double_'
[...]

I have seen some messages telling to move /usr/bin to the front of the
PATH, but it didn't change anything.
I attach the configure log and the make log to this email.

Thanks for any help.
Regards,

           Didier

-- 
----------------------------------------------------------------
Didier AUROUX                     Bureau: 318
Tel:     +33 (0)5.61.55.76.42     Fax.: +33 (0)5.61.55.83.85
E_Mail:  auroux at mip.ups-tlse.fr   http://mip.ups-tlse.fr/~auroux
Adresse: Institut de Mathematiques de Toulouse - UMR 5219
          Universite Paul Sabatier Toulouse 3
          31062 Toulouse cedex 9 - France
----------------------------------------------------------------


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make_test.log
Url: http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/attachments/20070518/7c707e43/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.log
Url: http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/attachments/20070518/7c707e43/attachment-0001.ksh 


More information about the netcdfgroup mailing list