rrd compilation on Centos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
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 
`/usr/local/src/orca-snapshot-r407/packages/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.5/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.5/ExtUtils/typemap  RRDs.xs > RRDs.xsc && mv RRDs.xsc 
RRDs.c
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 
"-I/usr/lib64/perl5/5.8.5/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>: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 
blib/arch/auto/RRDs/RRDs.so
/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 
`/usr/local/src/orca-snapshot-r407/packages/rrdtool-1.0.49/perl-shared'


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

Thanks,
James

_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search! 
http://toolbar.msn.co.uk/


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux