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

Re: netCDF Fortran (77 + 90) - Unresolved reference to netcdf objects



"Jon Larsen" <address@hidden> writes:

> Institution: Cascade Applied Sciences, Inc.
> Package Version: 3.6.0
> Operating System: Mac OSX 10.4
> Hardware Information: Powerbook G4
> Inquiry: I am compiling the attached .f90 file using the attached Makefile 
> with the Absoft compiler.  When linking I get messages that all netcdf object 
> files cannot be found.  Specifically, for example, _NF_CREATE is an 
> "undefined symbol", along with the message "reference to undefined 
> _NF_CREATE".  What am I missing?
>
>
>

Can you go to the directory in which netcdf was built, and run the
fortran tests?

If they work, then we know your problem is the options to your linker
and compiler. If they don't work, you have much deeper problems.

So go to netcdf-3.6.0/nf_test and run "make test"
-- 
Ed Hartnett  -- address@hidden