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

[netCDF #FQG-785243]: problems on cygwin platform



> I have tried to 'make nf_test', but got some error as follow.
> 
> address@hidden /netcdf-4.0.1/nf_test
> $ make nf_test
> g95 -fno-second-underscore -DpgiFortran   nf_test.F   -o nf_test
> /tmp/cckYjf1F.o:nf_test.F:(.text+0x2ab): undefined reference to `ignorefpe_'
> /tmp/cckYjf1F.o:nf_test.F:(.text+0x39f): undefined reference to
> `nf_inq_libvers_'

OK, so it seems that when you said:

>> I have installed it successfully follow your suggestion.

it wasn't actually installed successfully according to our
definition, which would require that "make check" ran successfully
before "make install".  In that case, I think my recommendation
to use the "-fno-second-underscore" was wrong, because it
apparently didn't work with netcdf-4.0.1 and g95 on your platform.

If you can't use gfortran, the only other suggestion I have is to 
remove the use of the "-fno-second-underscore" flag for  compiling, 
and just let the configure script determine what flag to use with 
your version of g95.  I think it will use "-Df2cFortran" but I don't 
have a g95 compiler to test that.

--Russ

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



Ticket Details
===================
Ticket ID: FQG-785243
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.