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

Re: 19990823: NETCDF 3.4 under Linux using Portland Group Fortran



Axel,

>Date: Mon, 23 Aug 1999 11:10:23 -0700
>From: address@hidden
>Organization: University of Washington
>To: Steve Emmerson <address@hidden>
>Subject: Re: 19990819: Compiling NETCDF 3.4 on HP-UX 10.20
>Keywords: 199908231810.MAA24461

In the above message, you wrote:

> Thanks. Got things compiled on HP-UX.

Great!

> Now I am trying on Redhat Linux 6.0. 
> I get things compiled using the portland group  pgpf77 compiler and the
>  -Df2cFortran flag.
> But when I run make test, then the fortran tests fail with the errors below.
> Apparently the linker is unable to find those routines.
> 
> Any suggestions on how I could get this working. I eventually would like
> to use the netcdf libraries with the Fortan 90 compiler from the portland
> group.
> 
> Any advice?
> 
> Thanks
> Axel

See the following URL:

    http://www.unidata.ucar.edu/staff/russ/netcdf/other-builds.html#linux-pgf90

Make sure you do a "make distclean" in the top-level source directory
before executing the configure script.

> est_write.o(.text+0x2a5a): undefined reference to `nf_open_'
> test_write.o(.text+0x2aaf): undefined reference to `nf_create_'
> test_write.o(.text+0x2bd2): undefined reference to `nf_copy_att_'
> test_write.o(.text+0x2c3a): undefined reference to `nf_copy_att_'
> test_write.o(.text+0x2c9d): undefined reference to `nf_copy_att_'
...

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