[uClibc]Problem while testing pre 0.99 from CVS

Erik Andersen andersen at codepoet.org
Fri Feb 1 07:15:08 UTC 2002


On Thu Jan 31, 2002 at 11:59:38PM +0100, arne @ loopback . org wrote:
> Hi,
> 
> i have to problems to report, while trying to compile my sources
> against the 0.99 pre:
> Note that the compiling of these two programs work fine if i use the old
> 0.9.8 release.
> 
> All other 20 programs seem to compile fine...
> 
> compiling iproute2 from iproute2-2.4.7-now-ss010824
> 
> gcc -Wl,-export-dynamic  tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o q_fifo.o q_sfq.o q_red.o q_prio.o q_tbf.o q_cbq.o f_rsvp.o f_u32.o f_route.o f_fw.o ../lib/libnetlink.a ../lib/libutil.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o   -L. -ltc -lm -ldl -o tc
> tc_util.o: In function rint_rate':
> /usr/src/router/src/iproute2/tc/tc_util.c:161: undefined reference to rint'

Did you enable DO_C99_MATH?   rint and friends are only built if
you enable C99 math support.  Traditional C89 math libraries
(which is what you get otherwise) have a pretty limited set of
stuff (sin, cos, atan2, etc).

I'll be adding in a config script this evening, which will help 
script the build process a bit, and make it less painful to I can
get a better system in place.

> compiling inetd from netkit-base-3.18
> 
> make[1]: *** [inetd] Error 1
> make[1]: Leaving directory /usr/src/router/src/netkit-base/inetd'
> make: *** [inetd.build] Error 2
> make -C  inetd install
> make[1]: Entering directory /usr/src/router/src/netkit-base/inetd'
> gcc -s inetd.o daemon.o  -o inetd
> inetd.o: In function onfig':
> inetd.o(.text+0xdc3): undefined reference to getrpcbyname'

Enable INCLUDE_RPC=true

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list