Hi,
I got it compiled.
> It says "recompile with -fPIC" But I am already
> doing so, am I not?
It appeared so, but in fact that wasn't what happened.
When I looked at the date of CConverters.o, I realized
the date was several days old. I deleted the entire
tree and did everything once more (from untar-ing the
gzipped file). This time make took much longer, but
there was no complaint at all.
Regards,
Tena Sakai
tsakai@gallo.ucsf.edu
-----Original Message-----
From: r-help-bounces@r-project.org on behalf of Tena Sakai
Sent: Tue 5/12/2009 12:47 PM
To: r-help@r-project.org
Subject: [R] Help needed to compile R with shared library.
Hi,
I cannot compile R with shared library.
I am using Redhad Linux on Dell hardware.
Here''s what I am doing:
I set ?PICFLAGS in config.site file:
CPICFLAGS=-fPIC
FPICFLAGS=-fPIC
and issue:
./configure --enable-R-shlib --prefix=$HOME/newR
make
configure finishes with no complaints, the last
informative line being:
Options enabled: shared R library, shared BLAS, R profiling, Java
But make is upset:
/usr/bin/ld: CConverters.o: relocation R_X86_64_32S against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
CConverters.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
It saysm "recompile with -fPIC" But I am already
doing so, am I not? What am I doing wrong here?
Any help would be appreciated.
Regards,
Tena Sakai
tsakai@gallo.ucsf.edu
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]