Thread: [bwm-tools-tech] Compilation errors
Brought to you by:
nkukard
From: Jon N. <jn...@op...> - 2003-10-04 16:52:01
|
Running Slackware 9.0, Kernel 2.4.18. Downloaded the latest version of the utilities (v0.1.1) and installed all required libs...configure runs fine...but after running make I am getting some strange errors: --- CUT --- make[1]: Leaving directory `/root/bw/bwm_tools-0.1.1/bwm_graph' /usr/local/lib/librrd.a(rrd_graph.o): In function `ytr': /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' /usr/local/lib/librrd.a(rrd_graph.o): In function `auto_scale': /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:312: undefined reference to `pow' /usr/local/lib/librrd.a(rrd_graph.o): In function `si_unit': /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:359: undefined reference to `pow' /usr/local/lib/librrd.a(rrd_graph.o): In function `expand_range': /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `pow' /root/rrdtool-1.0.45/src/rrd_graph.c:395: undefined reference to `pow' /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:408: undefined reference to `pow' /usr/local/lib/librrd.a(rrd_graph.o): In function `data_calc': /root/rrdtool-1.0.45/src/rrd_graph.c:1065: undefined reference to `sin' /root/rrdtool-1.0.45/src/rrd_graph.c:1073: undefined reference to `cos' /root/rrdtool-1.0.45/src/rrd_graph.c:1097: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:1134: undefined reference to `exp' --- CUT --- That isn't the whole error list but it is all the same...looks as if some lib isn't being loaded? Can anyone point me in the right direction? Thanks. Sincerely, Jon Newman |
From: Nigel K. <nk...@lb...> - 2003-10-04 17:15:20
|
hrmmm, I think the rrdtool libs arn't linked to a math library, this isn't really a bwm_tools error, but i'll look around and see if I can find anything. On Sat, Oct 04, 2003 at 11:51:56AM -0500, Jon Newman wrote: > Running Slackware 9.0, Kernel 2.4.18. Downloaded the latest version of the > utilities (v0.1.1) and installed all required libs...configure runs > fine...but after running make I am getting some strange errors: >=20 > --- CUT --- >=20 > make[1]: Leaving directory `/root/bw/bwm_tools-0.1.1/bwm_graph' > /usr/local/lib/librrd.a(rrd_graph.o): In function `ytr': > /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o): In function `auto_scale': > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:312: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o): In function `si_unit': > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:359: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o): In function `expand_range': > /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `pow' > /root/rrdtool-1.0.45/src/rrd_graph.c:395: undefined reference to `pow' > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:408: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o): In function `data_calc': > /root/rrdtool-1.0.45/src/rrd_graph.c:1065: undefined reference to `sin' > /root/rrdtool-1.0.45/src/rrd_graph.c:1073: undefined reference to `cos' > /root/rrdtool-1.0.45/src/rrd_graph.c:1097: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:1134: undefined reference to `exp' >=20 > --- CUT --- >=20 > That isn't the whole error list but it is all the same...looks as if some > lib isn't being loaded? Can anyone point me in the right direction? >=20 > Thanks. >=20 > Sincerely, > Jon Newman >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |
From: Jon N. <jn...@op...> - 2003-10-04 18:07:04
|
Thanks...looking at RRDTool's configure output the only errors I see are: a) "checking for tclConfig.sh in ... no configure: warning: tclConfig.sh not found - Tcl interface won't be built" b) "checking for fp_class.h... (cached) no" c) "checking for ieeefp.h... (cached) no" d) "checking for fpclassify... (cached) no checking for fpclassify with <math.h>... no" Some of those look suspicious... Thanks again... Jon > hrmmm, > > I think the rrdtool libs arn't linked to a math library, this isn't > really a bwm_tools error, but i'll look around and see if I can find > anything. > > > On Sat, Oct 04, 2003 at 11:51:56AM -0500, Jon Newman wrote: >> Running Slackware 9.0, Kernel 2.4.18. Downloaded the latest version of >> the >> utilities (v0.1.1) and installed all required libs...configure runs >> fine...but after running make I am getting some strange errors: >> >> --- CUT --- >> >> make[1]: Leaving directory `/root/bw/bwm_tools-0.1.1/bwm_graph' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `ytr': >> /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `auto_scale': >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:312: undefined reference to `pow' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `si_unit': >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:359: undefined reference to `pow' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `expand_range': >> /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `pow' >> /root/rrdtool-1.0.45/src/rrd_graph.c:395: undefined reference to `pow' >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:408: undefined reference to `pow' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `data_calc': >> /root/rrdtool-1.0.45/src/rrd_graph.c:1065: undefined reference to `sin' >> /root/rrdtool-1.0.45/src/rrd_graph.c:1073: undefined reference to `cos' >> /root/rrdtool-1.0.45/src/rrd_graph.c:1097: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:1134: undefined reference to `exp' >> >> --- CUT --- >> >> That isn't the whole error list but it is all the same...looks as if >> some >> lib isn't being loaded? Can anyone point me in the right direction? >> >> Thanks. >> >> Sincerely, >> Jon Newman >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> bwm-tools-tech mailing list >> bwm...@li... >> https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > |