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.
Pat, >Date: Mon, 14 Mar 2005 17:32:52 +0100 >From: Patrice Dumas <address@hidden> >Organization: ? >To: Steve Emmerson <address@hidden> >Subject: Re: 20050314: compiling udunits requires -lm on mandrake The above message contained the following: > > ... I wonder if > > > > CPPFLAGS='-Df2cFortran -D_XOPEN_SOURCE=500' > > > > would work? > > Yes, it does. Thanks! > This doesn't work. Indeed, in udunits/Makefile.in, the line for LIBS is > LIBS = $(ld_udunits) $(ld_udport) $(ld_yacc) $(ld_math) > > If I transform that line to > LIBS = $(ld_udunits) $(ld_udport) $(ld_yacc) $(ld_math) @LIBS@ > it works as expected (and indeed it is a cleaner fix). Oops! I did not know that was broken. It will work correctly in the next release. Thanks again. Regards, Steve Emmerson