[mrtg] Can't build RRDs module in perl-shared
mirage4d at bellsouth.net
mirage4d at bellsouth.net
Thu Mar 22 19:29:30 CET 2007
Hi,
I've successfully built and installed rrdtool-1.2.19 as described in rrdbuild.txt, but I can't seem to build the RRDs module in perl-shared. The output of make test (after running perl Makefile.PL LINKTYPE=static) is below. Anyone have any suggestions? Thanks.
cc -c -I../../src -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.2019\" -DXS_VERSION=\"1.2019\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DPERLPATCHLEVEL=8 RRDs.c
rm -rf blib/arch/auto/RRDs/RRDs.a
/usr/bin/ar cr blib/arch/auto/RRDs/RRDs.a RRDs.o && : blib/arch/auto/RRDs/RRDs.a
chmod 755 blib/arch/auto/RRDs/RRDs.a
Writing "Makefile.aperl" for this perl
Writing Makefile.aperl for RRDs
make -f Makefile.aperl perl
make[1]: Entering directory `/usr/local/rrdtool-1.2.19/bindings/perl-shared'
Writing perlmain.c
cd . && cc -c "-I/usr/lib/perl/5.8/CORE" \
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 \
-DVERSION=\"1.2019\" \
-DXS_VERSION=\"1.2019\" -fPIC "-I/usr/lib/perl/5.8/CORE" perlmain.c
cc -c -I../../src -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.2019\" -DXS_VERSION=\"1.2019\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DPERLPATCHLEVEL=8 RRDs.c
rm -rf blib/arch/auto/RRDs/RRDs.a
/usr/bin/ar cr blib/arch/auto/RRDs/RRDs.a RRDs.o && : blib/arch/auto/RRDs/RRDs.a
chmod 755 blib/arch/auto/RRDs/RRDs.a
cat blib/arch/auto/RRDs/extralibs.ld >> blib/arch/auto/RRDs/extralibs.all
cc -L/usr/local/lib -Wl,-E -o perl -O2 ./perlmain.o RRDs.o blib/arch/auto/RRDs/RRDs.a /usr/lib/libperl.a `cat blib/arch/auto/RRDs/extralibs.all` -ldl -lm -lpthread -lc -lcrypt
RRDs.o(.text+0xc8): In function `XS_RRDs_error':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x17c): In function `XS_RRDs_error':
: undefined reference to `rrd_get_error'
RRDs.o(.text+0x428): In function `XS_RRDs_last':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x434): In function `XS_RRDs_last':
: undefined reference to `rrd_last'
RRDs.o(.text+0x468): In function `XS_RRDs_last':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x830): In function `XS_RRDs_first':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x83c): In function `XS_RRDs_first':
: undefined reference to `rrd_first'
RRDs.o(.text+0x870): In function `XS_RRDs_first':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0xc38): In function `XS_RRDs_create':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0xc44): In function `XS_RRDs_create':
: undefined reference to `rrd_create'
RRDs.o(.text+0xc74): In function `XS_RRDs_create':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x100c): In function `XS_RRDs_update':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x1018): In function `XS_RRDs_update':
: undefined reference to `rrd_update'
RRDs.o(.text+0x1048): In function `XS_RRDs_update':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x13e0): In function `XS_RRDs_tune':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x13ec): In function `XS_RRDs_tune':
: undefined reference to `rrd_tune'
RRDs.o(.text+0x141c): In function `XS_RRDs_tune':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x175c): In function `XS_RRDs_graph':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x1780): In function `XS_RRDs_graph':
: undefined reference to `rrd_graph'
RRDs.o(.text+0x17b0): In function `XS_RRDs_graph':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x17e8): In function `XS_RRDs_graph':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x192c): In function `XS_RRDs_graph':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x194c): In function `XS_RRDs_graph':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x1c78): In function `XS_RRDs_fetch':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x1ca0): In function `XS_RRDs_fetch':
: undefined reference to `rrd_fetch'
RRDs.o(.text+0x1cd0): In function `XS_RRDs_fetch':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x1dac): In function `XS_RRDs_fetch':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x1de8): In function `XS_RRDs_fetch':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x20b0): In function `XS_RRDs_fetch':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x228c): In function `XS_RRDs_times':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x2298): In function `XS_RRDs_times':
: undefined reference to `parsetime'
RRDs.o(.text+0x22b0): In function `XS_RRDs_times':
: undefined reference to `rrd_set_error'
RRDs.o(.text+0x2358): In function `XS_RRDs_times':
: undefined reference to `parsetime'
RRDs.o(.text+0x2380): In function `XS_RRDs_times':
: undefined reference to `proc_start_end'
RRDs.o(.text+0x2724): In function `XS_RRDs_xport':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x2754): In function `XS_RRDs_xport':
: undefined reference to `rrd_xport'
RRDs.o(.text+0x2784): In function `XS_RRDs_xport':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x2860): In function `XS_RRDs_xport':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x289c): In function `XS_RRDs_xport':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x2be4): In function `XS_RRDs_xport':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x2e00): In function `XS_RRDs_info':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x2e0c): In function `XS_RRDs_info':
: undefined reference to `rrd_info'
RRDs.o(.text+0x2e40): In function `XS_RRDs_info':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x2f38): In function `XS_RRDs_info':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x2f44): In function `XS_RRDs_info':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x2f58): In function `XS_RRDs_info':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x30f0): In function `XS_RRDs_info':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x33d4): In function `XS_RRDs_updatev':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x33e0): In function `XS_RRDs_updatev':
: undefined reference to `rrd_update_v'
RRDs.o(.text+0x3414): In function `XS_RRDs_updatev':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x350c): In function `XS_RRDs_updatev':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x3518): In function `XS_RRDs_updatev':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x352c): In function `XS_RRDs_updatev':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x36c4): In function `XS_RRDs_updatev':
: undefined reference to `rrd_freemem'
RRDs.o(.text+0x3a14): In function `XS_RRDs_dump':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x3a20): In function `XS_RRDs_dump':
: undefined reference to `rrd_dump'
RRDs.o(.text+0x3a50): In function `XS_RRDs_dump':
: undefined reference to `rrd_test_error'
RRDs.o(.text+0x3de8): In function `XS_RRDs_restore':
: undefined reference to `rrd_clear_error'
RRDs.o(.text+0x3df4): In function `XS_RRDs_restore':
: undefined reference to `rrd_restore'
RRDs.o(.text+0x3e24): In function `XS_RRDs_restore':
: undefined reference to `rrd_test_error'
collect2: ld returned 1 exit status
make[1]: *** [perl] Error 1
make[1]: Leaving directory `/usr/local/rrdtool-1.2.19/bindings/perl-shared'
make: *** [perl] Error 2
More information about the mrtg
mailing list