[rrd-users] Problems compiling rrdtool on hpux11.11

Kießl Walter kiessl at heidenhain.de
Fri Jan 30 12:38:50 MET 2004


Hi there,

when I try to compile rrdtool 1.0.46 on my hpux11.11 box with gcc 3.3.2 and
gmake 3.8 I get the following error:

>>cd perl-shared && gmake
>>gmake[3]: Entering directory
`/data/app_admin/bin/tools/src/rrdtool-1.0.46/perl-shared'
>>cp RRDs.pm blib/lib/RRDs.pm
>>cp ntmake.pl blib/lib/ntmake.pl
>>/opt/jhperl/bin/perl /opt/jhperl/lib/5.8.2/ExtUtils/xsubpp  -typemap
/opt/jhperl/lib/5.8.2/ExtUtils/typemap  >>RRDs.xs > RRDs.xsc && mv RRDs.xsc
RRDs.c
>>gcc -c  -I../src -I../gd1.3 -D_POSIX_C_SOURCE=199506L -D_REENTRANT
-D_HPUX_SOURCE -mpa-risc-2-0 -fno-strict-aliasing -I/usr/local/include -O2
-DVERSION=\"1.000461\" -DXS_VERSION=\"1.000461\" -fPIC
"-I/opt/jhperl/lib/5.8.2/PA-RISC2.0-thread-multi/CORE"  -DPERLPATCHLEVEL=8
RRDs.c
>>Running Mkbootstrap for RRDs ()
>>chmod 644 RRDs.bs
>>rm -f blib/arch/auto/RRDs/RRDs.sl
>>LD_RUN_PATH="" /usr/bin/ld  -b -L/usr/local/lib RRDs.o -L../src/.libs/
-lrrd_private   -lm -o blib/arch/auto/RRDs/RRDs.sl      
>>/usr/bin/ld: Invalid loader fixup in text space needed in output file for
symbol "gdCompareInt" in input file "../src/.libs//librrd_private.a(gd.o)"
>>gmake[3]: *** [blib/arch/auto/RRDs/RRDs.sl] Error 1
>>gmake[3]: Leaving directory
`/data/app_admin/bin/tools/src/rrdtool-1.0.46/perl-shared'
>>gmake[2]: *** [perl_shared] Error 2
>>gmake[2]: Leaving directory `/data/app_admin/bin/tools/src/rrdtool-1.0.46'
>>gmake[1]: *** [all-recursive] Error 1
>>gmake[1]: Leaving directory `/data/app_admin/bin/tools/src/rrdtool-1.0.46'
>>gmake: *** [all] Error 2

When I try with the --enable_shared-Option (which is not my preferred
methode) of configure I get the following compile error:

>>rm -f blib/arch/auto/RRDs/RRDs.sl
>>LD_RUN_PATH="" /usr/bin/ld  -b -L/usr/local/lib RRDs.o -L../src/.libs/
-lrrd_private   -lm -o blib/arch/auto/RRDs/RRDs.sl      
>>/usr/bin/ld: DP relative code in file
../src/.libs//librrd_private.a(getopt.o) - shared library must be position
>>    independent.  Use +z or +Z to recompile.
>>gmake[3]: *** [blib/arch/auto/RRDs/RRDs.sl] Error 1
>>gmake[3]: Leaving directory
`/data/app_admin/bin/tools/src/rrdtool-1.0.46/perl-shared'
>>gmake[2]: *** [perl_shared] Error 2
>>gmake[2]: Leaving directory `/data/app_admin/bin/tools/src/rrdtool-1.0.46'
>>gmake[1]: *** [all-recursive] Error 1
>>gmake[1]: Leaving directory `/data/app_admin/bin/tools/src/rrdtool-1.0.46'
>>gmake: *** [all] Error 2

Can anybody help me?

Thank you very much!
Walter

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