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

[Support #LXT-164948]: udunits make.lg



Mike,

> New errors in the nco build ... the ncbo operator build is bombing out:
> 
> source='ncbo.c' object='ncbo.o' libtool=no \
> DEPDIR=.deps depmode=sgi /bin/sh ../../autobld/depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include -Drestrict=
> -I/ptmp/mpage/udunits-1.12.4/include  -64 -mips4 -O2 -c ncbo.c
> /bin/sh ../../libtool --tag=CXX --tag=CC --mode=link cc  -64 -mips4 -O2
> -L/usr/local/lib64/r4i4 -LANG:std  -L/ptmp/mpage/udunits-1.12.4/lib -o
> ncbo  ncbo.o libnco.la -ludunits -lsocket -lm -lnetcdf  -ludunits
> cc -64 -mips4 -O2 -LANG:std -o ncbo ncbo.o  -L/usr/local/lib64/r4i4
> -L/ptmp/mpage/udunits-1.12.4/lib ./.libs/libnco.a -lsocket -lm -lnetcdf
> -ludunits
> ld64: WARNING 84 : /usr/lib64/libsocket.so is not used for resolving
> any symbol.
> ld64: ERROR   33 : Unresolved text symbol "floor" -- 1st referenced by
> /ptmp/mpage/udunits-1.12.4/lib/libudunits.a(utlib.o).

Try putting the "-lm" math library reference after the "-ludunits" library
reference in the above link command.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: LXT-164948
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.