Displaying 1 result from an estimated 1 matches for "kerimp1".
2006 Sep 11
2
Making shared object on 64bit machine
I want to make a shared object from Fortran code to be loaded with
dyn.load(), but have the following messages:
# g77 -c kerimp1.f
# R CMD SHLIB kerimp1.o
gcc -shared -L/usr/local/lib64 -o kerimp1.so kerimp1.o -L/usr/lib64/R/lib
-lR
/usr/bin/ld: kerimp1.o: relocation R_X86_64_PC32 against `qweight_' can not
be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld...