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

Re: 20001219: netcdf for HP-UX 11.00 fortran90



Thomas,

>Date: Wed, 20 Dec 2000 08:53:54 +0100 (MET)
>From: address@hidden
>Organization: ?
>To: address@hidden
>Subject: Re: 20001219: netcdf for HP-UX 11.00 fortran90
>Keywords: 200012131527.eBDFRDo07431

The above message contained the following:

> ifa2 31: pwd
> /tmp/netcdf/netcdf-3.5-beta6/src/libsrc
> ifa2 32: /opt/ansic/bin/cc -c -O -Aa -Ae -I. -DNDEBUG -D_HPUX_SOURCE -w 
> +DA2.0 
> ncx.c
> cpp: "ncx.c", line 1119: error 4062: "ix_float implementation"
> cpp: "ncx.c", line 1542: error 4062: "ix_double implementation"
> cpp: "ncx.c", line 1707: error 4062: "x_size_t implementation"
> cpp: "ncx.c", line 1747: error 4062: "x_off_t implementation"
> ifa2 33: /bin/c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE -w ncx.c
> cpp: "ncx.c", line 1119: error 4062: "ix_float implementation"
> cpp: "ncx.c", line 1542: error 4062: "ix_double implementation"
> cpp: "ncx.c", line 1707: error 4062: "x_size_t implementation"
> cpp: "ncx.c", line 1747: error 4062: "x_off_t implementation"

Too bad.

Unfortunately, we don't have a system here that is similar to yours --
so it's difficult to diagnose the problem.

I'd like you to try building the netCDF package using settings that are
closer to the HP-UX example in the INSTALL file.  Would you please do
the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 and 4 near the end of the INSTALL file.

    3.  Set the following environment variables to the indicated values:

            CC=/bin/c89
            CPPFLAGS='-DNDEBUG -D_HPUX_SOURCE -w'
            CFLAGS="-O +DA2.0W"
            FC=/opt/fortran90/bin/f90
            FFLAGS='-O -w +DA2.0W'
            CXX=/usr/bin/CC

    4.  Perform steps 6 through 9 near the end of the INSTALL file.

If this still results in "error 4062", then you'll have to discover 
what, exactly, that error means.  You might have to consult with your
system administrator.

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