[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 970311: Netcdf 3.3a on a Dec Alpha Running Linux
- Subject: Re: 970311: Netcdf 3.3a on a Dec Alpha Running Linux
- Date: Fri, 11 Apr 1997 13:32:09 -0600
>
> Hi,
>
> I have a Dec Alpha running the linux 2.0.27 kernel,
> gcc version 2.7.2.1, glibc 0.961212-3.
>
> The compile goes ok (lots of warnings about redefinition
> of ulong, ushort, uint, time_t, fd_set, but that's a linux include
> problem.) The make test fails because the
>
> #if !defined(__alpha) && !defined(__AIX) && !defined(uchar)
> typedef unsigned char uchar;
> #endif
>
> in nctest/tests.h doesn't get done, but it needs to. The
> processor symbol __linux__ is set to one if you want to change
> the overly inclusive !defined(__alpha) hunk somehow. (It
> might be better to use the OS symbol for OSF1 or Win NT on the
> alpha instead of the __alpha symbol.)
The configure script figures this out for libsrc, but
we didn't want to include ../libsrc/ncconfig.h into this directory,
or have 'configure' messing around in there.
Seems like the quick fix would be to change "__alpha" to
"__osf__". Let me know if that solves your problem and I will
change things here.
> Any release plans for the 3.3 c++ interface?
If you can cobble the 2.4.x cxx/Makefile to work with
netcdf-3, the 2.4.x cxx sources can be patched to compile
with netcdf-3. The patches are available from the
support archive as
http://www.unidata.ucar.edu/glimpse/netcdf/2200
> Thanks,
>
> Dan Schmitt
>
> Dan Schmitt http://ranch.tamu.edu/~dmschmit
> Systems Analyst
>
> Ranching Systems Group Phone # (409) 845-7333
> Department of Rangeland Ecology and Management Fax # (409) 847-9366
> Texas A&M University Home # (409) 846-3914
> College Station Texas 77843-2126 ICBM: 30.67 N, 96.37 W
-glenn