This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
He Bernhard, > Finally I got the new NetCDF 2.4 Beta5 Release. > > The Installation worked fine for sgi and hp. > > On SunOS 4.1.3 4 sun4m I had a problem with make all: > > "ncgen.y", line 182: operands of = have incompatible types > > I looked at http://www.unidata.ucar.edu/packages/netcdf/release-notes.html > but this problem is not mentioned. > Maybe this happened because netCDF has only been tested on > SunOS-4.1.4 not 4.1.3 ? ... > What follows is the log output. ... > making `all' in directory > /home/claude3/bwagner/I_SKA/NETCDF/tmp/netcdf-2.4-beta5/src/ncgen > > cc -c -O -I../libsrc -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG -DNO_STRERROR > main.c > cc -c -O -I../libsrc -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG -DNO_STRERROR > load.c > lex ncgen.l > mv lex.yy.c ncgenyy.c > yacc -d ncgen.y > mv y.tab.c ncgentab.c > mv y.tab.h ncgentab.h > cc -c -O -I../libsrc -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG -DNO_STRERROR > ncgentab.c > "ncgen.y", line 182: operands of = have incompatible types > *** Error code 1 Yes, we only have access to SunOS 4.1.4 and SunOS 5.x platforms here, but I've managed to duplicate the problem by using the old /usr/ucb/cc unbundled compiler on a SunOS 4.1.4 system. We'll try to get it fixed for the next release. In the meantime, if you have access to the ANSI C compiler in /usr/lang/ or to gcc, that should work on SunOS 4.1.3. Thanks for pointing out the bug! In the future, it would be better to address bug reports to address@hidden rather than directly to me, so you will get an answer even if I'm away from my email. --Russ ______________________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu