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.
Mariusz, > that worked but up to a point. There are still some undefined > references. Pls see make.log, > Mariusz The file "make.log" contained the following: making `all' in directory /export/scratch2/pagowski/stuff/udunits-1.12.4/src/udunits make[1]: Entering directory `/export/scratch2/pagowski/stuff/udunits-1.12.4/src/udunits' make[2]: Entering directory `/export/scratch2/pagowski/stuff/udunits-1.12.4/src/udunits' cc -o udunits -g -O2 udunits.o -L/export/scratch2/pagowski/stuff/udunits-1.12.4/src/lib -ludunits -L/export/scratch2/pagowski/stuff/udunits-1.12.4/src/port/misc -ludport /export/scratch2/pagowski/stuff/udunits-1.12.4/src/lib/libudunits.a(utlib.o): In function `dectime': /export/scratch2/pagowski/stuff/udunits-1.12.4/src/lib/utlib.c:432: undefined reference to `floor' Apparently, on your system the Standard C math functions are not in C runtime library. Please try the following: 1. Go to the top-level source-directory. 2. Execute the command "make distclean". 3. Set your environment variables as before. 4. Execute the configure script as before but with the additional argument "LD_MATH=...", where "..." is a reference to the library that contains the C math functions. For example, ./configure LD_MATH=-lm >&configure.log 5. Execute the command "make" as before. 6. Continue with the build process. Regards, Steve Emmerson Ticket Details =================== Ticket ID: GJC-472649 Department: Support UDUNITS Priority: Normal Status: Closed