[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #FNG-611066]: help with problem - make udunits



Richard,

> I have followed your instruccions but i had the same error:
...
> making `all' in directory /root/tools/udunits-1.12.4/src/udunits
> 
> make[1]: Entering directory `/root/tools/udunits-1.12.4/src/udunits'
> make[2]: Entering directory `/root/tools/udunits-1.12.4/src/udunits'
> c89 -c -g -O2 -I../lib -I../port/misc -Df2cFortran -D_XOPEN_SOURCE=500
> udunits.c
> c89 -o udunits -g -O2 udunits.o -L/root/tools/udunits-1.12.4/src/lib
> -ludunits -L/root/tools/udunits-1.12.4/src/port/misc -ludport
> /root/tools/udunits-1.12.4/src/lib/libudunits.a(utlib.o)(.text+0x39a): In
> function `dectime':
> /root/tools/udunits-1.12.4/src/lib/utlib.c:432: undefined reference to
> `floor'
...

The error-message indicates that the configuration variable LD_MATH
wasn't set.  Please try the following:

1.  Go to the top-level source-directory.

2.  Execute the command "make distclean".

3.  Execute the following command:

./configure CPPFLAGS='-D_REENTRANT -Df2cFortran -D_XOPEN_SOURCE=500' \
LD_MATH=-lm

Redirect both the standard output and standard error streams
to the file "configure.log".

4.  Execute the command "make".

5.  Execute the command "make test".

6.  Execute the command "make install".

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: FNG-611066
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.