Displaying 4 results from an estimated 4 matches for "s_cat".
Did you mean:
3_cat
2008 Nov 26
2
Rtools28 - undefined references with gfortran
...it
does have gfortran, and it uses version:
GNU Fortran (GCC) 4.2.1-sjlj (mingw32-2)
I am compiling some old fortran code as part of a larger
project. When I do that, I get undefined references:
gcc.exe: s_cmp.o: No such file or directory
gcc.exe: s_copy.o: No such file or directory
gcc.exe: s_cat.o: No such file or directory
gcc.exe: F77_aloc.o: No such file or directory
I don't see these entry points in any of the accompanying
library files. I hunted around and found the above
functions in an old MinGW library libg2c.lib
When I link them in, I get different undefined references:
il...
2007 May 18
1
R 2.5.0 building problem
...se Linux ES release 4 (Nahant Update 4)
Kernel 2.6.9-42.ELsmp on an x86_64
The following errors occurred:
gcc -std=gnu99 -shared -L/usr/local/lib64 -o lapack.so Lapack.o
-L../../../lib -lRlapack -L../../../lib -lRblas -lg2c -lm -lgcc_s
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libg2c.a(s_cat.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making
a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/libg2c.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
make[4]: *** [lapack.so] Error 1
make[4]: Leaving dire...
2005 Oct 25
3
error from make: gcc -shared -L/usr/local/lib64 ... relocation R_X86_64_32...
...C -g -O2 -c cmplx.f -o cmplx.lo
g77 -fPIC -g -O2 -c cmplxblas.f -o cmplxblas.lo
gcc -shared -L/usr/local/lib64 -o libRlapack.so dlamc.lo dlapack0.lo
dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo cmplxblas.lo -lg2c -lm -lgcc_s
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.4/libg2c.a(s_cat.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/libg2c.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
make[4]: *** [libRlapack.so] Error 1
I am co...
2008 Oct 23
0
RCMD SHLIB: static libraries and f77 libraries on Windows
...how do I do
this?
Perhaps using MakeVar/MakeFile? Failing this, is there a way to use a
wildcard on
a link , e.g. RCMD SHLIB myprog.c *.o, instead of having to list ~100
object files?
(2) I'm using some legacy F77 code in the project, and it calls some gcc
library functions:
G77_exit_0, s_cat, F77_aloc, etc.
These used to be in gcc libraries libg2c.a and libgcc.a, which were part of
MinGW. They
don't seem to be in the MinGW that comes with Rtools. Have they be
replaced, and if
so, what are the appropriate libraries?
If this is documented, or if there is an example somewhere, ple...