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

Re: 960415: Bad test result under Ultrix



>Subject: Bad test result under Ultrix
>Organization: NASA/GSFC
>Keywords: 199604152011.AA25912

Charles,

> Here is more information on my problem running the test under Ultrix.
> 
> I used your package "netcdf.tar.Z" instead of "netcdf-2.4.1.tar.Z"
> because I tend to favor the tried-and-true versions of packages.
> But the VERSION file nevertheless shows "2.4.1"

The former is just a symbolic link to the latter.  "netcdf.tar.Z" will
always be a symbolic link to the latest released and tested version.  That
removes some of the volatility from documents that refer to how to get the
software.

> Moving on the system software, here is its version information:
> 
> ---------------------------
> *> uname -a
> ULTRIX nibbles 4.3 MP-3.24 RISC
> *> gcc -v
> Reading specs from /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.5.8/specs
> gcc version 2.5.8
> ---------------------------
> I see that we used different Ultrix's, and I don't find any other
> version of gcc on our system.

We don't have any Ultrix 4.3 platforms on which to try to duplicate the
problem, but as Steve Emmerson pointed out in a previous note, it's probably
due to the way gcc is being invoked.  Before you run the "configure" script
to construct the Makefiles, make sure you don't have the CFLAGS environment
variable set, and if the CC environment variable is set, don't include any
compiler flags in it.  Since we've verified that netCDF builds without
problems using the DEC "cc" compiler, you might also just try that.

Make sure you "make clean" before rerunning the "configure" script.  If you
still have problems, send us the output of the "configure" script, and the
values of all your environment variables before "configure" was invoked.

> I saved the log file from the make. Here is a typical segment:
> 
> -------------------------------------------
> gcc -c -O -std -Dconst= dim.c
> gcc: unrecognized option `-std'
> In file included from dim.c:7:
> /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.5.8/include/string.h:68: warning: 
> co
> nflicting types for built-in function `strcpy'
> /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.5.8/include/string.h:78: warning: 
> co
> nflicting types for built-in function `memcmp'
> /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.5.8/include/string.h:79: warning: 
> co
> nflicting types for built-in function `strcmp'
> /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.5.8/include/string.h:85: warning: 
> co
> nflicting types for built-in function `memcpy'
> -----------------------------------------------------------
> 
> I can send you the whole log file if you need it. 
> 
> Let me know if you need more information. I can re-build the whole
> thing on any hunch you might have -- it goes pretty quickly.

--Russ