Michael,
>Date: Tue, 1 Aug 1995 15:37:12 -0500
>From: msplitt@xxxxxxxxxxxxxxxxxxxxxx (Michael E. Splitt)
>To: netcdfgroup@xxxxxxxxxxxxxxxx
>Subject: Prolbem with netcdf on SPARC10 with Solaris 2.4
>Keywords: 199508012035.AA07313
In the above message you wrote:
> Can you help with the following error when I try to use compile
> with fortran?
> -----------------------------------------------------------------------------
>
> {msplitt}192: f77 sonde.f -lnetcdf
> sonde.f:
> MAIN smos:
> "sonde.f", line 20: Warning: local variable "wspd_va" never used
> "sonde.f", line 20: Warning: local variable "temp" never used
> "sonde.f", line 23: Warning: local variable "qcdelta" never used
> "sonde.f", line 23: Warning: local variable "qcmin" never used
> "sonde.f", line 23: Warning: local variable "qcmax" never used
> Undefined first referenced
> symbol in file
> xdr_enum /usr/lib/libnetcdf.a(array.o)
> xdr_float /usr/lib/libnetcdf.a(array.o)
> xdr_int /usr/lib/libnetcdf.a(iarray.o)
> xdr_u_long /usr/lib/libnetcdf.a(array.o)
> xdr_double /usr/lib/libnetcdf.a(array.o)
> xdr_long /usr/lib/libnetcdf.a(array.o)
> xdr_opaque /usr/lib/libnetcdf.a(array.o)
> ld: fatal: Symbol referencing errors. No output written to a.out
The missing symbols are from the XDR library. Add `-lnsl' to your
link-line to reference it.
--------
Steve Emmerson <steve@xxxxxxxxxxxxxxxx>