[rrd-users] Rrdtool > 1.3.1 compile broken on OS X 10.4

Tobias Oetiker tobi at oetiker.ch
Fri Sep 19 00:02:54 CEST 2008


Hi Mark,

I have no mac, so I can not test these things, but my guess is that
it is somehow related to the changes for solaris 2.8 compatibility
I made in the 1.3.2 and 1.3.3 release ...

You mention that things compile fine on 10.5, so could you run
'configure' on both systems and  then do a

diff -ur between the two directories. This may give use some
insights.

cheers
tobi

Yesterday Mark Duling wrote:

> Hello,
>
> Rrdtool compiles fine on the latest OS X (10.5.x), but it is failing on OS X 10.4.x after about version 1.3.1 I believe.  Below is the build output for 1.3.3.  Tobi, any ideas on what the problem could be?
>
> Mark
>
>
> creating librrdupd.la
> (cd .libs && rm -f librrdupd.la && ln -s ../librrdupd.la librrdupd.la)
> /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0  -O2 -D_GNU_SOURCE -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W  -fno-common -DPIC  -L/opt/local/lib -L/opt/local/lib -L/usr/X11R6/lib   -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices   -L/opt/local/lib -L/usr/X11R6/lib   -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices   -o librrd.la -rpath /opt/local/lib -version-info 4:2:0 -export-symbols librrd.sym hash_32.lo pngsize.lo rrd_create.lo rrd_graph.lo rrd_graph_helper.lo rrd_version.lo rrd_last.lo rrd_lastupdate.lo rrd_first.lo rrd_restore.lo rrd_xport.lo rrd_gfx.lo rrd_dump.lo rrd_fetch.lo rrd_resize.lo rrd_tune.lo librrdupd.la -lxml2 -lcairo -lcairo -lcairo  -lcairo -lSM -lICE -lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lpixman-1   -lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpng12 -lXrender -lX11 -lpixman-1 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
> rm -fr .libs/librrd.lax
> mkdir .libs/librrd.lax
> rm -fr .libs/librrd.lax/librrdupd.a
> mkdir .libs/librrd.lax/librrdupd.a
> Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.3.3/src/./.libs/librrdupd.a
> (cd .libs/librrd.lax/librrdupd.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.3.3/src/./.libs/librrdupd.a)
> sed 's,^,_,' < librrd.sym > .libs/librrd-symbols.expsym
> /usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/librrd.4.0.2.dylib  .libs/hash_32.o .libs/pngsize.o .libs/rrd_create.o .libs/rrd_graph.o .libs/rrd_graph_helper.o .libs/rrd_version.o .libs/rrd_last.o .libs/rrd_lastupdate.o .libs/rrd_first.o .libs/rrd_restore.o .libs/rrd_xport.o .libs/rrd_gfx.o .libs/rrd_dump.o .libs/rrd_fetch.o .libs/rrd_resize.o .libs/rrd_tune.o  .libs/librrd.lax/librrdupd.a/rrd_diff.o .libs/librrd.lax/librrdupd.a/rrd_error.o .libs/librrd.lax/librrdupd.a/rrd_format.o .libs/librrd.lax/librrdupd.a/rrd_hw.o .libs/librrd.lax/librrdupd.a/rrd_hw_math.o .libs/librrd.lax/librrdupd.a/rrd_hw_update.o .libs/librrd.lax/librrdupd.a/rrd_info.o .libs/librrd.lax/librrdupd.a/rrd_nan_inf.o .libs/librrd.lax/librrdupd.a/rrd_not_thread_safe.o .libs/librrd.lax/librrdupd.a/rrd_open.o .libs/librrd.lax/librrdupd.a/rrd_parsetime.o .libs/librrd.lax/librrdupd.a/rrd_rpncalc.o .libs/librrd.lax/librrdupd.a/rrd_update.o   -L/opt/local/lib -L/usr/X11R6/lib -lc /opt/local/lib/libxml2.dylib /opt/local/lib/libz.dylib /opt/local/lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -install_name  /opt/local/lib/librrd.4.dylib -Wl,-compatibility_version -Wl,5 -Wl,-current_version -Wl,5.2  -Wl,-exported_symbols_list,.libs/librrd-symbols.expsym
> ld: symbols names listed in -exported_symbols_list: .libs/librrd-symbols.expsym not in linked objects
> _#
> /usr/bin/libtool: internal link edit command failed
> gnumake[2]: *** [librrd.la] Error 1
> gnumake[1]: *** [all-recursive] Error 1
> gnumake: *** [all] Error 2
>

-- 
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