Re: [bwm-tools-tech] Compilation problems
Brought to you by:
nkukard
From: Nigel K. <nk...@lb...> - 2003-12-13 10:52:20
|
Try specifying -> LD_FLAGS=3D"-lm" make On Sat, Dec 13, 2003 at 01:23:30AM -0300, Kevork wrote: > ----- Original Message -----=20 > From: "Nigel Kukard" <nk...@lb...> > To: "Kevork" <ke...@cy...> > Cc: <bwm...@li...>; <jo...@la...> > Sent: Tuesday, December 09, 2003 5:35 AM > Subject: Re: [bwm-tools-tech] Compilation problems >=20 >=20 > Thank you Nigel !, you were right, I did not see the error message at > configure time, glib was old ... >=20 > Now glib is 2.3.1, configure does not complain at all, but I?ve got more > errors at compile time. >=20 > I put them here ... could you give some ad ? >=20 > Thanks a lot !, > Kevork. >=20 > make[1]: Entering directory `/usr/local/src/bwm_tools-0.1.7/bwm_graph' > cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOG_D= IR=3D > \"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE --depend bwm_graph.c > graph.c > .deps > make bwm_graph > make[2]: Entering directory `/usr/local/src/bwm_tools-0.1.7/bwm_graph' > cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOG_= DIR > =3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c bwm_graph.c > cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOG_= DIR > =3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c graph.c > cc -o bwm_graph bwm_graph.o graph.o > ../lib/libbwm.a -pthread -lgthread-2.0 -lglib-2.0 -L/usr/local/lib -lrrd > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x15d): In function `ytr': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:153: undefined reference to > `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x173):/usr/local/src/rrdtool-= 1.0 > .45/src/rrd_graph.c:153: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x1e4):/usr/local/src/rrdtool-= 1.0 > .45/src/rrd_graph.c:161: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x1fa):/usr/local/src/rrdtool-= 1.0 > .45/src/rrd_graph.c:161: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x8d9): In function `auto_scal= e': > /usr/include/bits/mathinline.h:445: undefined reference to `log' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x8f2):/usr/include/bits/mathi= nli > ne.h:445: undefined reference to `log' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x955): In function `auto_scal= e': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:311: undefined reference to > `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xa03): In function `si_unit': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:353: undefined reference to > `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xaca): In function `si_unit': > /usr/include/bits/mathinline.h:445: undefined reference to `log' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xae0):/usr/include/bits/mathi= nli > ne.h:445: undefined reference to `log' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xbd8): In function > `expand_range': > /usr/include/bits/mathinline.h:445: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xc5b):/usr/include/bits/mathi= nli > ne.h:504: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xcc4):/usr/include/bits/mathi= nli > ne.h:504: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xd79):/usr/include/bits/mathi= nli > ne.h:445: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0xdc8):/usr/include/bits/mathi= nli > ne.h:445: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x2680): In function `data_cal= c': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:1064: undefined reference to > `sin' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x2728):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:1072: undefined reference to `cos' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x274d):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:1096: undefined reference to `log' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x2772):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:1133: undefined reference to `exp' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4135): In function > `horizontal_grid': > /usr/include/bits/mathinline.h:445: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x41ba):/usr/include/bits/math= inl > ine.h:493: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x425c): In function > `horizontal_grid': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:1845: undefined reference to > `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x49aa): In function > `horizontal_mrtg_grid': > /usr/include/bits/mathinline.h:445: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4a2d):/usr/include/bits/math= inl > ine.h:504: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4a8a):/usr/include/bits/math= inl > ine.h:504: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4dc8): In function > `horizontal_log_grid': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:2011: undefined reference to > `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4de4):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:2011: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4e79):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:2018: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x4ff4):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:2040: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x5010): In function > `horizontal_log_grid': > /usr/include/bits/mathinline.h:430: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x5036):/usr/include/bits/math= inl > ine.h:430: more undefined references to `log10' follow > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x506e): In function > `horizontal_log_grid': > /usr/include/bits/mathinline.h:430: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x5228): In function > `horizontal_log_grid': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:2061: undefined reference to > `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x5244): In function > `horizontal_log_grid': > /usr/include/bits/mathinline.h:430: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x526a):/usr/include/bits/math= inl > ine.h:430: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x52a2):/usr/include/bits/math= inl > ine.h:430: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x554a): In function > `horizontal_log_grid': > /usr/local/src/rrdtool-1.0.45/src/rrd_graph.c:2021: undefined reference to > `log10' > /usr/local/lib/librrd.a(rrd_graph.o)(.text+0x5564):/usr/local/src/rrdtool= -1. > 0.45/src/rrd_graph.c:2021: undefined reference to `log10' > /usr/local/lib/librrd.a(pngrtran.o)(.text+0x119c): In function > `png_init_read_transformations': > /usr/local/src/rrdtool-1.0.45/libpng-1.0.9/pngrtran.c:879: undefined > reference to `pow' > /usr/local/lib/librrd.a(pngrtran.o)(.text+0x11ef):/usr/local/src/rrdtool-= 1.0 > .45/libpng-1.0.9/pngrtran.c:881: undefined reference to `pow' > /usr/local/lib/librrd.a(pngrtran.o)(.text+0x1239):/usr/local/src/rrdtool-= 1.0 > .45/libpng-1.0.9/pngrtran.c:883: undefined reference to `pow' > /usr/local/lib/librrd.a(pngrtran.o)(.text+0x128a):/usr/local/src/rrdtool-= 1.0 > .45/libpng-1.0.9/pngrtran.c:885: undefined reference to `pow' > /usr/local/lib/librrd.a(pngrtran.o)(.text+0x12db):/usr/local/src/rrdtool-= 1.0 > .45/libpng-1.0.9/pngrtran.c:887: undefined reference to `pow' > /usr/local/lib/librrd.a(pngrtran.o)(.text+0x1329):/usr/local/src/rrdtool-= 1.0 > .45/libpng-1.0.9/pngrtran.c:889: more undefined references to `pow' follow > collect2: ld returned 1 exit status > make[2]: *** [bwm_graph] Error 1 > make[2]: Leaving directory `/usr/local/src/bwm_tools-0.1.7/bwm_graph' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/bwm_tools-0.1.7/bwm_graph' > make: *** [all] Error 2 >=20 --=20 Nigel Kukard (Chief Executive Officer) Lando Technologies Africa (Pty) Ltd ni...@la... www.lando.co.za Tel: 083 399 5822 Fax: 086 1100036 Hoheisen Park Bellville, Cape Town National Internet Service Provider The best language to use is the language that was designed for what you want to use it for - 1997 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Disclaimer ---------- The contents of this message and any attachments are intended=20 solely for the addressee's use and may be legally privileged and/or=20 confidential information. This message may not be retained,=20 distributed, copied or used if you are not he addressee of this=20 message. If this message was sent to you in error, please notify=20 the sender immediately by reply e-mail and then destroy the message=20 and any copies thereof. Opinions, conclusions and other information in this message may be=20 personal to the sender and is not that of Lando Technologies Africa=20 or any of it's subsideries, associated companies or principals and=20 is therefore not endorsed by any of the Lando groups of companies.=20 Due to e-maill communication being insecure, Lando groups of=20 companies do not guarantee confidentiality, security, accuracy or =20 performance of the e-mail. Any liability for viruses is excluded=20 to the fullest extent. |