Dear Waylon,
The second link error will probably be corrected upon fixing the
first compile error.
The SAVE keyword is redundant in the f90 compilation under HP-UX
and most other compilers since about F66. I suggest either a glance
at the man page on how to disable the default setting or just editing
the offending code and commenting out the SAVE lines. What the SAVE
does is retain the the value of the variable between calls to the
function or subroutine. Looks like this function needs to know if
it's already been called so as not to do some recalculations.
-Rick
At 1:06 PM -0500 10/25/00, Waylon Collins wrote:
>-------- Original Message --------
>Subject: Compiling problems with HP-UNIX
>Date: Fri, 20 Oct 2000 14:23:14 +0100
>From: Waylon Collins <waylon.collins@noaa.gov>
>To: ncarg-talk@ucar.edu
>
>The following are two error messages, separated by "#####", that
>occurred when compiling (via the "make Everything" command). I am using
>an HP-UNIX with an f90 compiler. Any ideas as to what can be done to fix
>these problems?
>
>Waylon Collins
>NOAA/NWS/CRP
>
>
>ngdots.f
> external subroutine NGDOTS
>
> SAVE IFIRST
> ^
>Error 134 at (52:ngdots.f) : The attribute SAVE already
>applies to all variables
>
>1 Error
>f90: Errors detected.
>*** Error exit code 1
>
>Stop.
>
>#############################################
>
>Making install in ./ngmath/src/bin/nnalg
> > > f90 -O2 -o nnalg nadisp.o nadraw.o naskln.o nasort.o
> > > -L../../../.././ncarg2d/src/libncarg -lncarg
> > > -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
> > > -L../../../.././common/src/libncarg_c -lncarg_c
> > > -L/usr1/ncarg-4.2.2/lib -L/usr/lib/Motif1.2
> > > -L/usr/lib/X11R6 -L/usr/contrib/X11R6 -L/usr/lib -lX11 -lm
> > > /usr/ccs/bin/ld: Unsatisfied symbols:
> > > ngritd (code)
> > > ngdots (code)
> > > igetarg (code)
> > > ngseti (code)
> >
This archive was generated by hypermail 2b29 : Thu Oct 26 2000 - 07:26:31 MDT