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.
>From: "Kristin" >Organization: Lockheed Martin Space Operations >Keywords: 200205071524.g47FOka27331 >Keywords: 200204302300.g3UN0Za25954 netCDF SGI compiler license Kristin, re: explicitly define needed macros >> CC=/bin/c89 >> CPP='/bin/c89 -E' >> FC=/bin/f90 >> CXX= >> CPPFLAGS=-DNDEBUG >> CFLAGS=-O >> FFLAGS=-O >Done. OK. >> After setting the environment variables, you will need to run: >> make distclean >> ./configure >Also done. OK. >The files configure.log and make.log are attached. The configure >script executed more successfully this time (it actually found the values for >short, int, etc.!) That is promising. >However, the make still failed. I have done you the >courtesy of deleting the liscense message from the C compiler so that you may >more easily see the actual errors. Please do the following. cd libsrc make attr.i Trap the output and send it to us. This should help us understand why the make is failing with an error in a system include file: cc-1084 c89: ERROR File = /usr/include/stddef.h, Line = 37 The indicated declaration has an invalid combination of type specifiers. typedef int ptrdiff_t; ^ Tom