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

20010717: NetCDF build problem: missing f77compat library



Yu-Jin Choi,

>Date: Mon, 16 Jul 2001 19:15:06 -0400 (EDT)
>From: Yu-Jin Choi <address@hidden>
>Organization: University of Maryland
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20010712: NetCDF Error report 
>Keywords: 200107122230.f6CMUA103891

The above message contained the following:

> I tried it with "setenv FLIBS '-L/opt/SUNWspro/WS6/lib -lf77compat'".
> It seems to make one succesful step. But next step has the same kind of
> error msg. (FYI, I changed to CC=gcc for CC=c89 )
> 
> Below is "test.log" 
...
> Making `test' in directory
> /export/data/SMK3/yjchoi/netcdf-3.5.0/src/fortran
> 
> ar cru ../libsrc/libnetcdf.a fort-attio.o        fort-control.o
> fort-dim.o    $
> ranlib ../libsrc/libnetcdf.a
> /opt/SUNWspro/bin/f77 -o ftest -O -w  ftest.o ../libsrc/libnetcdf.a

I do not see a reference to the Fortran-77 compatibility library in the
above. Is there a reference to it in the the FLIBS macro in the file
"macros.make" in the top-level source directory?

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

>From address@hidden Tue Jul 17 11:03:02 2001
>Subject: 20010717: NetCDF build problem: missing f77compat library 

To: Yu-Jin Choi <address@hidden>
Subject: 20010717: NetCDF build problem: missing f77compat library 
In-reply-to: Your message of "Tue, 17 Jul 2001 12:35:25 EDT."
             <address@hidden> 
Date: Tue, 17 Jul 2001 11:03:00 -0600
From: Steve Emmerson <address@hidden>

Yu-Jin Choi,

>Date: Tue, 17 Jul 2001 12:35:25 -0400 (EDT)
>From: Yu-Jin Choi <address@hidden>
>Organization: University of Maryland
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20010717: NetCDF build problem: missing f77compat library
>Keywords: 200107122230.f6CMUA103891

The above message contained the following:

> And "macros.make" file
...
> FLIBS           = -L/opt/SUNWspro/WS6/lib -lf77compat

Good.  This file has the definition that you need.

The build-line for the "nf_test" utility in the "nf_test/" subdirectory
looked strange:

    Making `test' in directory
    /export/data/SMK3/yjchoi/netcdf-3.5.0/src/nf_test

    gcc -c -O   -DNDEBUG fortlib.c
    /opt/SUNWspro/bin/f77 -o nf_test -O -w  test_get.o       test_put.o nf_err$
    *** Error code 1

Would you please go into that directory and send me the output from the
following command:

    make -n nf_test

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