[bwm-tools-tech] Compile error - maths functions?
Brought to you by:
nkukard
From: Matthew B. <ma...@pr...> - 2003-11-23 13:56:04
|
After running ./configure --width-rrdtool=/usr/local/rrdtool-1.0.45 I then do a make and get the following output (this is just the top snippet... more similar errors follow): [root@carling bwm_tools-0.1.6]# make for dir in lib bwm_firewall bwm_graph bwmd bwm_monitor; \ do \ make -C $dir all; \ res=$?; \ if [ $res != '0' ]; then exit $res; fi \ done make[1]: Entering directory `/root/installs/bwm_tools-0.1.6/lib' make libbwm.a make[2]: Entering directory `/root/installs/bwm_tools-0.1.6/lib' make[2]: `libbwm.a' is up to date. make[2]: Leaving directory `/root/installs/bwm_tools-0.1.6/lib' make[1]: Leaving directory `/root/installs/bwm_tools-0.1.6/lib' make[1]: Entering directory `/root/installs/bwm_tools-0.1.6/bwm_firewall' make bwm_firewall make[2]: Entering directory `/root/installs/bwm_tools-0.1.6/bwm_firewall' cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DIPTABLES_FILE=\"/etc/sysconfig/iptables\" -Wall -I../include -D_GNU_SOURCE -c bwm_firewall.c cc -o bwm_firewall bwm_firewall.o ../lib/libbwm.a -pthread -lgthread-2.0 -lglib-2.0 -lxml2 -lz -lm make[2]: Leaving directory `/root/installs/bwm_tools-0.1.6/bwm_firewall' make[1]: Leaving directory `/root/installs/bwm_tools-0.1.6/bwm_firewall' make[1]: Entering directory `/root/installs/bwm_tools-0.1.6/bwm_graph' make bwm_graph make[2]: Entering directory `/root/installs/bwm_tools-0.1.6/bwm_graph' cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOG_DIR=\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c bwm_graph.c cc -o bwm_graph bwm_graph.o graph.o ../lib/libbwm.a -pthread -lgthread-2.0 -lglib-2.0 -L/usr/local/rrdtool-1.0.45/lib -lrrd /usr/local/rrdtool-1.0.45/lib/librrd.a(rrd_graph.o)(.text+0x15d): In function `ytr': /root/installs/rrdtool-1.0.45/src/rrd_graph.c:153: undefined reference to `log10' /usr/local/rrdtool-1.0.45/lib/librrd.a(rrd_graph.o)(.text+0x173):/root/i nstalls/rrdtool-1.0.45/src/rrd_graph.c:153: undefined reference to `log10' /usr/local/rrdtool-1.0.45/lib/librrd.a(rrd_graph.o)(.text+0x1e4):/root/i nstalls/rrdtool-1.0.45/src/rrd_graph.c:161: undefined reference to `log10' /usr/local/rrdtool-1.0.45/lib/librrd.a(rrd_graph.o)(.text+0x1fa):/root/i nstalls/rrdtool-1.0.45/src/rrd_graph.c:161: undefined reference to `log10' /usr/local/rrdtool-1.0.45/lib/librrd.a(rrd_graph.o)(.text+0x8d9): In function `auto_scale': /usr/include/bits/mathinline.h:445: undefined reference to `log' |