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

Re: 980219: netcdf-3.3: parameters not in identifier list



Jim,

>Date: Fri, 20 Feb 1998 12:57:45 -0600 
>From: address@hidden (Jim Hines (awdnsun) 472-6708)
>Organization: . 
>To: address@hidden
>Subject: Re: 980219: netcdf-3.3: parameters not in identifier list 
>Keywords: 199802191738.KAA02626

In the above message, you wrote:

> You bet..
> the machines in hpccsun.unl.edu  (129.93.89.84)
> and use userid=awdnsun  and password=

Your C compiler is very old:

    $ cc -V
    cc: C Development Set  (CDS) SPARCompilers 2.0.1 03 Sep 1992

It's not a conforming Standard C compiler, which is why you're having
problems.

I managed to build and install the netCDF package in
"/data/programs/netcdf/netcdf-3.3.1" by using the following settings:

    CC="/opt/SUNWspro/bin/cc -Xa"
    CPPFLAGS="-DNDEBUG -D__sun"
    CFLAGS=-O
    FC=/opt/SUNWspro/bin/f77
    FFLAGS="-O -w"
    CXX=/opt/SUNWspro/bin/CC

You would not be expected to know about the "-Xa" and "-D__sun" options
(though if your compiler were more up-to-date, these options would be
unnecessary).

If I were you, I would talk with your systems administrator about
getting a more modern compiler.

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