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

Re: 20001218: Loader error messages while creating executable



Sheo,

> To: address@hidden
> From: Sheo S Prasad <address@hidden>
> Subject: Loader error messages while creating executable
> Organization: Creative Research Enterprises
> Keywords: 200012152254.eBFMsFo25772

The above message contained the following:

> I installed netcdf-3.4 on my REdHat7 Linux/Pentium III based
> Workstation. Then I use Portland Group f90 (pgf90) compiler to create an
> executable from a set of f90 programs that inputs/putputs its results in
> NetCDF format. In this attempt I am getting these errors which appear to
> show that I missed various utilities while installing the NetCDF. 
> 
> Please help.
> 
> Below are the error messages:
> 
> soc.mods.o: In function `netcdf_utils_netcdf_init_':
> soc.mods.o(.text+0x4a8): undefined reference to `nf_enddef_'
> soc.mods.o: In function `netcdf_utils_netcdf_create_':
> soc.mods.o(.text+0x5ae): undefined reference to `nf_create_'
> soc.mods.o: In function `netcdf_utils_netcdf_dim_def_':
> soc.mods.o(.text+0x610): undefined reference to `nf_redef_'
> soc.mods.o(.text+0x68e): undefined reference to `nf_def_dim_'
> soc.mods.o(.text+0x6f7): undefined reference to `nf_def_dim_'
> soc.mods.o(.text+0x765): undefined reference to `nf_def_dim_'
> soc.mods.o(.text+0x79f): undefined reference to `nf_def_dim_'
> soc.mods.o(.text+0x7c2): undefined reference to `nf_enddef_'
> soc.mods.o: In function `netcdf_utils_netcdf_var_def_':
> soc.mods.o(.text+0x888): undefined reference to `nf_redef_'
> soc.mods.o(.text+0x92a): undefined reference to `nf_def_var_'
> soc.mods.o(.text+0xcd4): undefined reference to `nf_def_var_'
> soc.mods.o(.text+0xcf7): undefined reference to `nf_enddef_'
> soc.mods.o: In function `netcdf_utils_set_attribute_':
> soc.mods.o(.text+0xd71): undefined reference to `nf_redef_'
> soc.mods.o(.text+0xe0f): undefined reference to `nf_inq_varid_'
> soc.mods.o(.text+0xe95): undefined reference to `nf_put_att_text_'
> soc.mods.o(.text+0xea7): undefined reference to `nf_enddef_'
> soc.mods.o: In function `netcdf_utils_netcdf_arch_':
> soc.mods.o(.text+0x110b): undefined reference to `nf_inq_varid_'

The loader appears to be not finding the Fortran routines in the netCDF
library.  Did you provide the loader with a reference to the library?
Does the library contain the Fortran routines?  If not, then what does
it contain?

> -- 
> Best regards.
> 
> Sheo
> (Sheo S. Prasad)
> Creative Research Enterprises
> 6354 Camino del Lago
> Pleasanton, CA 94566, USA
> Phone (+1) 925 426 9341
> Fax:  (+1) 925 426 9417

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>