[rrd-developers] Fix RRDs under perl 5.005_03

Lars Thegler lars at thegler.dk
Sun May 9 16:03:58 MEST 2004

RRDs's 'make test' fails under 5.005_03:
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............Can't load 'blib/arch/auto/RRDs/RRDs.so' for module 
RRDs: blib/arch/auto/RRDs/RRDs.so: Undefined symbol "newSVuv" at 
/usr/libdata/perl/5.00503/DynaLoader.pm line 169.

  at t/base.t line 20
BEGIN failed--compilation aborted at t/base.t line 20.
         Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
         Failed 7/7 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
t/base.t        255 65280     7    7 100.00%  1-7
Failed 1/1 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
*** Error code 2


This is due to the fact, that 'newSVuv' wasn't introduced until perl 5.6.0.

Changing 'newSVuv' to 'newSViv' doesn't change the semantics (time_t is 
signed anyway), so the attached patch should work all around.


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Size: 332 bytes
-- URL : http://www.ee.ethz.ch/~slist/p/patch-RRDs.xs

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

More information about the rrd-developers mailing list