netCDF make problem with ANSI C compiler on Sun 4/74

I tried unsuccessfully to make netCDF with the new ANSI C compiler on my Sun
4/75 running SunOS 4.1.1.  The second attempt using Sun's C compiler worked.
Below is the log of the first attempt.  Has anybody had a similar problem?

Fred
----- make output -----

Making `all' in /usr/local/netcdf/netcdf/fortran
./fortc -L . -O sunos jackets.src > jackets.c
/usr/local/lang/acc -I../src -O  -target sun4 -c  jackets.c
./fortc -L . -O sunos sunos0.inc common.inc > netcdf.inc
Making `all' in /usr/local/netcdf/netcdf/xdr
/usr/local/lang/acc -I`if [ -z "/usr/include/rpc" ]; then echo .;  else echo 
/usr/include/rpc; fi`  -O  -target sun4 -c  xdrtest.c
Making `all' in /usr/local/netcdf/netcdf/src
/usr/local/lang/acc -I`if [ -z "/usr/include/rpc" ]; then echo ../xdr; else  
echo /usr/include/rpc; fi`  -O  -target sun4 -c  array.c
"array.c", line 192: conversion of floating-point constant to double out of 
range
Compilation failed
*** Error code 2
make: Fatal error: Command failed for target `array.o'
Current working directory /usr/local/netcdf/netcdf/src
*** Error code 1
make: Fatal error: Command failed for target `nonsharable_lib'
Current working directory /usr/local/netcdf/netcdf/src
*** Error code 1
make: Fatal error: Command failed for target `_sub'
Current working directory /usr/local/netcdf/netcdf
*** Error code 1
make: Fatal error: Command failed for target `all'
#
# Above used ANSI C compiler; change to Sun C compiler and repeat.
#


  • 1992 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: