[rrd-users] Compiling problems on HP-UX 10.20 with rrdtool-1.0.28
yves.wouters at belgacom.be
yves.wouters at belgacom.be
Wed Nov 8 16:20:20 MET 2000
Hello guys ,
I 'm still having problems to get my RRDtool compiled on HP-UX 10.20.
Please let me know If someone of you was able to get RRDtool up an running
on a HP-UX box.
These are the problems I always encountered in the perl-shared section.
making the make file in perl-shared with LINKTYPE=static
1) # perl Makefile.PL CC=gcc OPTIMIZE=-O CCCDLFLAGS=' ' \
CCFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' \
LINKTYPE=static ===> ok works
2) # make === > ok
3) # make test ===> not ok
( collect2: ld returned 1 exit status)
*** Error exit code 1
If I ignore this message I can do a "make install" using the solution given
in
http://www.ee.ethz.ch/~slist/rrd-users/msg01879.html
<http://www.ee.ethz.ch/~slist/rrd-users/msg01879.html>
(I don't know if this is the right solution for the problem)
making the make file in perl-shared with LINKTYPE=dynamic
# perl Makefile.PL CC=gcc OPTIMIZE=-O CCCDLFLAGS=' ' \
CCFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' \
LINKTYPE=dynamic ===> ok works
# make ==> not ok
ld: Can't find library for -lrrd_private
*** Error exit code 1
Searching the library
# find / -name '*private*'
/usr/local/rrdtool-1.0.28/src/.libs/librrd_private.la
/usr/local/rrdtool-1.0.28/src/.libs/librrd_private.a
/usr/local/rrdtool-1.0.28/src/librrd_private.la
Is there somebody who can give me some hints to get RRDtool working on my
HP-UX box.
Anything you can think of would be useful . .
Help,
Yves...
All compilation in detail below
##############################
#
perl Makefile.PL CC=gcc OPTIMIZE=-O CCCDLFLAGS=' '
FLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' LINKTYPE=static
Writing Makefile for RRDs
# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/RRDs
mkdir blib/lib/auto
mkdir blib/lib/auto/RRDs
mkdir blib/man3
cp ntmake.pl blib/lib/ntmake.pl
cp RRDs.pm blib/lib/RRDs.pm
/usr/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1
-I/opt/perl5/lib/5.6.0 /opt/perl5/lib/5.6.0/ExtUtils/xsubpp -typemap
/opt/perl5/lib/5.6.0/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv RRDs.xsc
RRDs.c
gcc -c -I../src -I../gd1.3 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.000281\"
-DXS_VERSION=\"1.000281\" -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-DPERLPATCHLEVEL=6 RRDs.c
rm -rf blib/arch/auto/RRDs/RRDs.a
/usr/ccs/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
Manifying blib/man3/RRDs.3
# make test
rm -rf blib/arch/auto/RRDs/RRDs.a
/usr/ccs/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
Writing ./perlmain.c
cd . && gcc -c -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O \
-DVERSION=\"1.000281\" \
-DXS_VERSION=\"1.000281\" -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
perlmain.c
cat /opt/perl5/lib/5.6.0/PA-RISC1.1/auto/DynaLoader/extralibs.ld >>
blib/arch/auto/RRDs/extralibs.all
cat blib/arch/auto/RRDs/extralibs.ld >>
blib/arch/auto/RRDs/extralibs.all
gcc -Wl,-E -Wl,-B,deferred -o perl -O ./perlmain.o
blib/arch/auto/RRDs/RRDs.a
/opt/perl5/lib/5.6.0/PA-RISC1.1/auto/DynaLoader/DynaLoader.a
/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/libperl.a `cat
blib/arch/auto/RRDs/extralibs.all` -lnsl_s -lndbm -ldld -lm -lc -lndir
-lcrypt -lsec
/usr/ccs/bin/ld: Unsatisfied symbols:
rrd_create (code)
rrd_graph (code)
rrd_update (code)
rrd_fetch (code)
rrd_test_error (code)
rrd_tune (code)
rrd_last (code)
rrd_clear_error (code)
rrd_get_error (code)
rrd_info (code)
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#
RGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' LINKTYPE=dynamic
<
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/RRDs
mkdir blib/lib/auto
mkdir blib/lib/auto/RRDs
mkdir blib/man3
cp ntmake.pl blib/lib/ntmake.pl
cp RRDs.pm blib/lib/RRDs.pm
/usr/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1
-I/opt/perl5/lib/5.6.0 /opt/perl5/lib/5.6.0/ExtUtils/xsubpp -typemap
/opt/perl5/lib/5.6.0/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv RRDs.xsc
RRDs.c
gcc -c -I../src -I../gd1.3 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.000281\"
-DXS_VERSION=\"1.000281\" -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-DPERLPATCHLEVEL=6 RRDs.c
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
LD_RUN_PATH="" ld -o blib/arch/auto/RRDs/RRDs.sl -b -s -a shared
RRDs.o -L../src/.libs/ -lrrd_private -lm
ld: Can't find library for -lrrd_private
*** Error exit code 1
Yves Wouters
System Administration
NTS/NAD/NMC/SYST SUP (NOC)
Carlistraat 4 1140 Evere
*+32 2 244.63.33
* +32 2 245.08.49
mail to: <mailto:Yves.Wouters at belgacom.be> Yves.Wouters at belgacom.be
**** DISCLAIMER ****
"This e-mail and any attachments thereto may contain information
which is confidential and/or protected by intellectual property
rights and are intended for the sole use of the recipient(s) named above.
Any use of the information contained herein (including, but not limited to,
total or partial reproduction, communication or distribution in any form)
by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer.
Thank you for your cooperation."
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list