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

20000504: experimental f90 build under Linux using NA FortranPlus



Bruce,

>Date: Thu, 4 May 2000 14:05:40 -0400 (EDT)
>From: root <address@hidden>
>Organization: UCAR/Unidata
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20000504: f90 build problem: can't find f77 routines: Absoft, 
>Linux 
>Keywords: 200005041756.e44HuUG03132

In the above message, you wrote:

> Sorry i have to bug you again.  I obtained an evaluation copy of NA
> FortranPlus to compile your experimental Fortran 90.  Everything seems
> fine, but got some error -- 
...

> f90 -o netcdf_test netcdf_test.f90 netcdf.o typeSizes.o -L../../lib -lnetcdf
> Compiling netcdf_test.f90 ...
> Reading /usr/local/netcdf-3.5/src/f90/netcdf_test.f90
> Program netcdftest:
> New program target "netcdftest" created for program unit
> OK, Successfully compiled netcdf_test.f90
> 
> Composing netcdf_test ...
> Linking netcdf_test ...
> /usr/bin/ld: cannot open -lf90io: No such file or directory
> collect2: ld returned 1 exit status
> *** Failed to link netcdf_test
> Successfully compiled: netcdftest
> Failed to build: netcdf_test
> make: *** [netcdf_test] Error 1

It appears from the above that your Fortran-90 compiler (f90) is passing
the option "-lf90io" to "ld" (the linker/loader) during the attempt to
link the "netcdf_test" program.  It further appears that "ld" has no
idea where this library is.

This indicates a problem with the installation of the NA FortranPlus
package.  I suggest verifying the installation.

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