[CentOS] rrd compilation on Centos

James Bond jamesbond_422 at hotmail.com
Thu Oct 13 13:20:12 UTC 2005

i am trying to compile the latest version of orca source code on CentOS 4.0 
system running amd64 bit processor. I am getting the following error:

make[5]: Entering directory 
cp RRDs.pm blib/lib/RRDs.pm
cp ntmake.pl blib/lib/ntmake.pl
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.5/ExtUtils/typemap  RRDs.xs > RRDs.xsc && mv RRDs.xsc 
gcc -c  -I.. -I../src -I../gd1.3 -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DHAVE_CONFIG_H -O2 -g -pipe -m64 
   -DVERSION=\"1.000491\" -DXS_VERSION=\"1.000491\" -fPIC 
In file included from ../src/rrd_tool.h:24,
                from RRDs.xs:13:
../config.h:191:1: warning: "VERSION" redefined
<command line>:7: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 
/usr/bin/ld: ../src/.libs//librrd_private.a(parsetime.o): relocation 
R_X86_64_32 against `a local symbol' 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[5]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
make[5]: Leaving directory 

what should i do to fix this problem and get it working?


The new MSN Search Toolbar now includes Desktop search! 

More information about the CentOS mailing list