Well, the dependencies should be explicit in the makefile - no? Similarly, the choice between the rrd and rrd_th libs isn't one that I make, its the configure/make process that determines that. (I don't even know the difference between the two).
Is the Cygwin build config something you did, or was it contributed?? Philip ------ On 9/14/2010 9:26 PM, Tobias Oetiker wrote: > 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' >> >> _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
