[Orca-users] orca compilation problem on amd64 bit linux system

James Bond jamesbond_422 at hotmail.com
Sat Oct 8 12:01:24 PDT 2005


Hi,
i am trying to compile the latest version of orca source code on Red hat 
linux 4 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

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters




More information about the Orca-users mailing list