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.
Sean, > Thanks, Steve. That got me through configure. Now, I get this on make: > > ....... > > make[1]: Entering directory `/tmp/udunits-1.12.4/src/udunits' > make[2]: Entering directory `/tmp/udunits-1.12.4/src/udunits' > c89 -c -O -I../lib -I../port/misc -Df2cFortran udunits.c > udunits.c: In function 'main': > udunits.c:95: error: '_POSIX_MAX_INPUT' undeclared (first use in this > function) > udunits.c:95: error: (Each undeclared identifier is reported only once > udunits.c:95: error: for each function it appears in.) > udunits.c:113: warning: incompatible implicit declaration of built-in > function 'exit' > make[2]: *** [udunits.o] Error 1 > make[2]: Leaving directory `/tmp/udunits-1.12.4/src/udunits' > make[1]: *** [program] Error 2 > make[1]: Leaving directory `/tmp/udunits-1.12.4/src/udunits' > make: *** [udunits/all] Error 1 Try add the line "#define _XOPEN_SOURCE=500" to the top of the file "udunits/udunits.c". Regards, Steve Emmerson Ticket Details =================== Ticket ID: ZYY-472715 Department: Support UDUNITS Priority: Normal Status: Closed