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

951206: netCDF 2.4



Eirh-Yu Hsie,

>Date: Thu, 7 Dec 1995 12:43:31 -0700 
>From: address@hidden (Eirh-Yu Hsie)
>Organization: NOAA
>Subject: Re: 951206: netCDF 2.4 
>Keywords: 199512061703.AA12237

In the above message you wrote:

> Those routines are there.  My results are:
> 
> mustang:[211]% nm -r /wrk/d0/newsoft/netcdf/netcdf-2.4-beta5/lib/libnetcdf.a 
> | grep FUNC | grep GLOB | grep jackets
> [30]  |       672|      56|FUNC |GLOB |0    |2      |jackets.o:ncpopt_
...

Good.

I notice that your build-line was

    f77 -L/wrk/d0/newsoft/netcdf/netcdf-2.4-beta5/lib -lnetcdf -o rdtest.ex 
rdtest.F

I believe the problem is caused referencing the netCDF library
(-lnetcdf) before referencing the main routine (rdtest.F).  Try the
following build command

    f77 -o rdtest.ex rdtest.F -L/wrk/d0/newsoft/netcdf/netcdf-2.4-beta5/lib 
-lnetcdf 

Please let me know if this works.
--------
Steve Emmerson   <address@hidden>