[btOOL] compilation fails on 64-bit machine
Status: Beta
Brought to you by:
gward
|
From: Harlan H. <har...@ny...> - 2006-02-02 16:22:53
|
Hi, I'm trying to build Text::BibTeX on a 64-bit Red Hat machine. Here's the output of uname -a: Linux machine.name 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:11:56 EST 2006 x86_64 x86_64 x86_64 GNU/Linux And here's the output of perl -v: This is perl, v5.8.5 built for x86_64-linux-thread-multi The btparse build goes perfectly fine, as does "make check". When I go to build the Perl stuff, though I get an error that's beyond my ability to comprehend: gcc -c -Ibtparse/src -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 -O2 -g -pipe -m64 -DVERSION=\"0.36\" -DXS_VERSION=\"0.36\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" btxs_support.c Running Mkbootstrap for Text::BibTeX () chmod 644 BibTeX.bs rm -f blib/arch/auto/Text/BibTeX/BibTeX.so gcc -shared BibTeX.o btxs_support.o -o blib/arch/auto/Text/BibTeX/BibTeX.so btparse/src/.libs/libbtparse.a /usr/bin/ld: btparse/src/.libs/libbtparse.a(input.o): relocation R_X86_64_32S against `StringOptions' can not be used when making a shared object; recompile with -fPIC btparse/src/.libs/libbtparse.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Text/BibTeX/BibTeX.so] Error 1 What does this mean? How do I fix it? Thanks, -Harlan -- Harlan Harris Post-Doctoral Research Scientist Department of Psychology New York University har...@ny... |