[rrd-users] HELP - make fails when installing RRD on Cygwin

James Dontsop jdontsop at yahoo.com
Tue Feb 21 15:50:22 MET 2006

Hello rrd-users,
I am planning on using rrd but am having a hard time installing it on Cygwin.

Each time I try to install it, my `make` fails with the following error:

$ make

....( omitted text ).....

rm -f blib/arch/auto/RRDs/RRDs.dll
LD_RUN_PATH="" ld2  -s -L/usr/local/lib RRDs.o -L../../src/.libs -lrrd -lm -o bl
ib/arch/auto/RRDs/RRDs.dll  /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
gcc -shared -o  RRDs.dll -Wl,--out-implib=libRRDs.dll.a -Wl,--export-all-symbols
 -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \
-s -L/usr/local/lib RRDs.o -L../../src/.libs -lrrd -lm  /usr/lib/perl5/5.8/cygwi
Creating library file: libRRDs.dll.a
../../src/.libs/librrd.a(rrd_gfx.o):rrd_gfx.c:(.text+0x4a9): undefined reference
 to `_art_vpath_add_point'
../../src/.libs/librrd.a(rrd_gfx.o):rrd_gfx.c:(.text+0x4cc): undefined reference
 to `_art_vpath_add_point'

... ( omitted text ) ....

../../src/.libs/librrd.a(rrd_gfx.o):rrd_gfx.c:(.text+0x197f): undefined referenc
e to `_art_rgba_rgba_composite'
../../src/.libs/librrd.a(pngsize.o):pngsize.c:(.text+0x20): undefined reference
to `_png_create_read_struct'
../../src/.libs/librrd.a(pngsize.o):pngsize.c:(.text+0x2b): undefined reference
to `_png_create_info_struct'

.... ( omitted text ) ....

../../src/.libs/librrd.a(pngsize.o):pngsize.c:(.text+0xd6): undefined reference
to `_png_destroy_read_struct'
../../src/.libs/librrd.a(art_rgba_svp.o):art_rgba_svp.c:(.text+0xa47): undefined
 reference to `_art_svp_render_aa'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o  RRDs.dll -Wl,--out-implib=libRRDs.dll.a -Wl,--export-all-symbols
 -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \
-s -L/usr/local/lib RRDs.o -L../../src/.libs -lrrd -lm  /usr/lib/perl5/5.8/cygwi

make[4]: *** [blib/arch/auto/RRDs/RRDs.dll] Error 2
make[4]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.12/bindings/perl-shared'
make[3]: *** [perl_shared] Error 2
make[3]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.12/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.12/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.12'
make: *** [all] Error 2


Any help will be appreciated.  I understand it might be easier on a 'real' Linux but I need to prove the concept on my PC, before I proceed.

Thanks much.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list