[rrd-users] Can't compile on dual athlon64

Gord Fisch gord at ecohosting.net
Wed Aug 11 17:01:37 MEST 2004


Can't compile on dual athlon 64 running fedora core2. Any advice would be
appreciated.

rrdtool-1.0.49
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
GNU ld version 2.15.90.0.3 20040415
This is perl, v5.8.3 built for x86_64-linux-thread-multi


Messages from the end of 'make':

cd perl-shared && make
make[3]: Entering directory `/root/rrdtool-1.0.49/perl-shared'
cp RRDs.pm blib/lib/RRDs.pm
cp ntmake.pl blib/lib/ntmake.pl
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.3/ExtUtils/typemap  RRDs.xs > RRDs.xsc && mv RRDs.xsc
RRDs.c
gcc -c  -I.. -I../src -I../gd1.3 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_P
IDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURC
E -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DHAVE_CONFIG_H -O2 -g -pipe   
-DVERSION=\"1.000491\" -DXS_VERSION=\"1.000491\" -fPIC
"-I/usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi/CORE"  -DPERLPATCHLEVEL=
8 RRDs.c
In file included from ../src/rrd_tool.h:24,
                 from RRDs.xs:13:
../config.h:191:1: warning: "VERSION" redefined
<command line>:11:1: warning: this is the location of the previous
definition
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
rm -f blib/arch/auto/RRDs/RRDs.so
gcc  -shared RRDs.o -L../src/.libs/ -lrrd_private   -lm -o
blib/arch/auto/RRDs/RRDs.so
/usr/bin/ld: ../src/.libs//librrd_private.a(parsetime.o): relocation
R_X86_64_32 can not be used when making a shared object; recompile
with -fPIC
../src/.libs//librrd_private.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
make[3]: Leaving directory `/root/rrdtool-1.0.49/perl-shared'
make[2]: *** [perl_shared] Error 2
make[2]: Leaving directory `/root/rrdtool-1.0.49'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rrdtool-1.0.49'
make: *** [all] Error 2


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