[rrd-users] Build problem - Cygwin
Tobias Oetiker
tobi at oetiker.ch
Wed Sep 15 06:26:13 CEST 2010
Hi Philip,
not sure, but could it be that in cygwin mode, somehow the
dependencies for 3rd party libraries get lost ? in the exammple
above, -lrrd_th (although I would actually use -lrrd) should know
that it has to pull in pango, cairo, freetype, libxml ...
cheers
tobi
Yesterday Philip Peake wrote:
> On 9/14/2010 9:17 AM, Tobias Oetiker wrote:
> > Hi Philip,
> >
> > Today Philip Peake wrote:
> >
> >> 1.4.4 - downloaded from your website this morning.
> > Try the 1.4 snapshot ...
> >
> >
> Trying with rrdtool-1.4-svn-snap.tar.gz rrdtool-1.4.4.002129
>
> Basic first attempt,
>
> ./Configure
> make
>
> Same as stable release - barfs on mmap defines.
> Notice that configure doesn't explicitly check for sys/mman.h
>
> Next try with --disable-mmap (and --prefix=/usr/local --- I can't see
> that upsetting much)
>
> ------------
>
> Same result - dies with unresolved symbols when building bindings (tcl
> is first).
>
> Its trying to build a shared library when it fails:
>
> gcc -shared -g -O2 -D_GNU_SOURCE -fno-strict-aliasing -Wall
> -std=gnu99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
> -Winline -Wold-style-definition -W -DDLL_EXPORT -DPIC
> -L../../src/.libs -L../../src -L/usr/local/lib tclrrd.o -o
> tclrrd1.4.4.002129.dll -lrrd_th -lm -ltclstub84
> ../../src/.libs/librrd_th.a(librrd_th_la-rrd_graph.o): In function
> `rrd_set_font_desc':
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4016:
> undefined reference to `_pango_font_description_free'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4017:
> undefined reference to `_pango_font_description_from_string'
> ../../src/.libs/librrd_th.a(librrd_th_la-rrd_graph.o): In function
> `rrd_graph_options':
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4599:
> undefined reference to `_cairo_font_options_set_antialias'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4601:
> undefined reference to `_cairo_font_options_set_hint_style'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4594:
> undefined reference to `_cairo_font_options_set_antialias'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4596:
> undefined reference to `_cairo_font_options_set_hint_style'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4657:
> undefined reference to `_pango_layout_get_context'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4657:
> undefined reference to `_pango_cairo_context_set_font_options'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4658:
> undefined reference to `_pango_layout_context_changed'
> ../../src/.libs/librrd_th.a(librrd_th_la-rrd_graph.o): In function
> `rrd_graph_init':
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4047:
> undefined reference to `_cairo_font_options_create'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4105:
> undefined reference to `_cairo_image_surface_create'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4106:
> undefined reference to `_cairo_create'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4118:
> undefined reference to `_pango_cairo_font_map_create_context'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4120:
> undefined reference to `_pango_cairo_context_set_resolution'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4122:
> undefined reference to `_pango_cairo_update_context'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4124:
> undefined reference to `_pango_layout_new'
> /home/Philip/rrdtool-src/rrdtool-1.4.4.002129/src/rrd_graph.c:4125:
> undefined reference to `_g_object_unref'
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list