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

Re: 19981119: netcdf-3.4 on SunOS-4.1.3, gcc-2.8.1



Ben,

>Date: Thu, 19 Nov 1998 16:56:00 -0600 (CST)
>From: Ben Horner-Johnson <address@hidden>
>Organization: Northwestern University
>To: address@hidden
>Subject: Re: 19981119: netcdf-3.4 on SunOS-4.1.3, gcc-2.8.1
>Keywords: 199811190734.AAA21680

In the above message, you wrote:

> Yep ... adding -lstdc++ to LIBS worked for the build.  Now it fails when
> testing the fortran, but I'll try rebuilding with "g77" in place of "f77"
> and see what happens.
> 
> The test.log is huge - basically the same stuff repeated each time it went
> through ./netcdf.inc in ftest.F.  I've included part of it below.
> 
> Thanks.
> 
> Ben
> 
> 
> 
> Making `test' in directory /opt/local/gmt/netcdf-3.4/src/fortran
>  
> ld.so: warning: /usr/lib/libc.so.1.8.1 has older revision than expected 9
> make[2]: Entering directory `/opt/local/gmt/netcdf-3.4/src/fortran'
> + f77 -c -O -w ftest.F 
> /tmp/cpp.24138.0.f:
>  MAIN totestthenetcdf:
> "ftest.F", line 1: Error: illegal continuation card ignored
> "ftest.F", line 2: Error: illegal continuation card ignored
> "ftest.F", line 3: Error: illegal continuation card ignored
> "ftest.F", line 4: Error: illegal continuation card ignored
...

Looks like your f77 compiler is pretty non-standard.  Let me know how
g77 works out.

Don't forget to do a "make distclean" before executing the configure
script.

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