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.
Yoshihro, > To: address@hidden > From: "Yoshihiro Yamasaki" <address@hidden> > Subject: UDUNITS INSTALL PROBLEM > Organization: ? > Keywords: 200308071545.h77FjkLd012608 The above message contained the following: > PLEASE FIND ENCLOSED THE FILE (ERROR.TAR) WITH I HOPE HAS > ALL THE INFORMATION NECESSARY TO FIGURE OUT WHY AM GETTING > INSTALLATION PROBLEM. > > I THANK YOU FOR YOUR REPLY AFTER FINDING OUR THE PROBLEM & > SOLUTION. > > BEST REGARDS > > YOSHIHIRO YAMAZAKI ... > making `all' in directory /home2/yamazaki/usr/local/udunits-1.11.7/src/udunits > > make[1]: Entering directory > `/home2/yamazaki/usr/local/udunits-1.11.7/src/udunit > s' > make[2]: Entering directory > `/home2/yamazaki/usr/local/udunits-1.11.7/src/udunit > s' > gcc -o udunits -O udunits.o > -L/home2/yamazaki/usr/local/udunits-1.11.7/src/lib - > ludunits -L/home2/yamazaki/usr/local/udunits-1.11.7/src/port/misc -ludport > /home2/yamazaki/usr/local/udunits-1.11.7/src/lib/libudunits.a(utlib.o)(.text+0xd > 1b): In function `utRaise': > : undefined reference to `pow' The error message above shows that the gcc compiler couldn't find the standard function pow() in its default runtime library. This is strange because the output of the configure script shows that it did find the standard function sin() in that library: > checking for C math library... > checking for (void)sin(0.0) in default library(s)... yes I suspect that there is something wrong with your development environment. I suggest that you show this problem to your system administrator. Or, if you can discover the library that contains the function pow(), then you can tell the build procedure to use this library. This is done by putting a reference to the library in the environment variable LIBS before executing the configure script. For example: $ make distclean $ export LIBS='-L/usr/local/lib -lm' $ configure >configure.log 2>&1 ... Regards, Steve Emmerson