Displaying 20 results from an estimated 10000 matches similar to: "R CMD SHLIB problem with -lg2c and make:"
2008 Jul 03
1
--enable-BLAS-shlib conflict with --with-lapack in configure?
Dear developeRs,
I'm trying to build R (2.7.1, on an x86_64 running Linux, but I believe
I have observed this on x86 and with earlier versions of R as well)
using external BLAS and LAPACK libraries _and_ generating libR.so,
libRblas.so and libRlapack.so.
Without --enable-BLAS-shlib, configure is able to find and use the
external LAPACK library:
./configure \
2005 Nov 08
1
R build under mandriva 10.2
After upgrading from mandrake 10.1 to mandriva 10.2
I can't build shared archive with R 2.2.0
[guillot at laplace src]$ R CMD SHLIB main.f sub.f wrapper.c
gcc -shared -L/usr/local/lib -o main.so main.o sub.o wrapper.o -lg2c -lm
-lgcc_s
/usr//bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make: *** [main.so] Erreur 1
I guess the information in
2001 Dec 12
1
RE: [R] Rcmd SHLIB problem
Yes, changing line 67 of SHLIB as Uwe suggested worked:
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
rm -f -f tryf.a
ar cr tryf.a *.o
ranlib tryf.a
------- Building tryf.dll from tryf.a --------
echo LIBRARY tryf > tryf.def
echo EXPORTS >> tryf.def
nm tryf.a > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> tryf.def
rm -f Defs
2003 Jun 25
0
Rcmd SHLIB on Windows
Hi all,
I would like to preform an autologistic regression analysis on my thesis data. This is a form of logistic regression that accounts for spatial autocorrelation within and between predictor variables. To this end I have received some script from Dr. Fred Huffer which will allow for the analysis in R. It consists of an R script (autolog.R) that calls a compiled Fortran script (combo.o).
2001 Dec 12
0
RE: [R] Rcmd SHLIB problem
Prof. Ripley,
Seems like mine is 629:
c:\home>perl -v
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 629 provided by ActiveState Tool Corp.
http://www.ActiveState.com
Built 12:27:04 Aug 20 2001
Will try a newer build and see.
Regards,
Andy
> -----Original Message-----
>
2007 Jun 08
2
R CMD SHLIB error using OS X
Hello,
I'm using R 2.5.0 with OS X 10.4.9 and Xcode 2.4.1 on a PowerPC. My
code used to compile fine with R 2.4.* and Xcode 2.2 (I think).
I'm compiling some C code (named mhroc_prop.c) that calls a fortran
routine from mvndstpack.f I get the error
/usr/bin/libtool: file: mvndstpack.o is not an object file (not allowed
in a library)
after R outputs (sorry... not sure if this is
2001 Oct 18
3
Rcmd SHLIB in rw1031 (R for Win)
Thanks for the answers on readme.packages.
I have installed Rw1031 from SetupR.exe including the option
for compiling source files and, following directions in
www.stats.ox.ac.ul/pub/Rtools, have installed:
-tools.zip
-Perl (Active Perl)
-mingw-1.1.tar.gz
-copied sh.exe to c:\bin\sh.exe
After Perl installation, its directory is added to my path. I have also
added the directory where the R
2009 Dec 27
0
R CMD SHLIB on Mac OS X fails when the default tempdir() is used (PR#14168)
This is prompted by trying to run the 'inline' package on Mac OS X Leopard =
with R 2.10.1. Mac uses completely crazy temp paths and R uses those as wel=
l. The inline package creates source files in the temp directory which it t=
hen compiles with R CMD SHLIB and attaches. The compilation fails with the =
error message below which seems to be caused by the complexity of the path =
2010 Dec 14
1
How to specify compiler options when using R CMD SHLIB
Hi
I've built a dll using Fortran code and can call it by either R or
Fortran. Calling by the former gives me the wrong answer and the later
gives the correct answer.
>From what I've read, it looks like I should use the subroutines DBLEPR,
INTPR and REALPR to print to the R console rather than using Fortran
standard I/O and that if I use the command
R CMD SHLIB source.f that these
2009 Oct 20
1
Changing options in R CMD SHLIB
Dear,
When trying to use directive OpenMP in my code, I observed that the directive ones were being considered as commentaries.
Compiling with command R CMD SHLIB xxx.f95 - fopenmp and calling the function in the R verified that threads was not being considered.
I was to observe the options of the compiler
R CMD SHLIB --help
Usage: R CMD SHLIB [options] files | linker options
Build a shared
2006 Jul 26
1
R CMD SHLIB flags
How can one specify multiple extra flags to R CMD SHLIB? The example in
R-exts section 5.5
MAKEFLAGS="CFLAGS=-O3" R CMD SHLIB *.c
works for a single flag, but when I try
MAKEFLAGS="CFLAGS=-g -O2 -Wall" R CMD SHLIB *.c
only the first flag is used and the rest seem to be ignored (version
2.3.1, Mac OS X)
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
2012 Apr 13
1
Question with R CMD SHLIB in 64 bit R
Hi,
I have some C++ code that I compiled into a dll for use in 32 bit R and
would like to recompile for use in 64bit R. I thought it would be as easy
as going to R-2.15.0\bib\x64 and running R CMD SHLIB mfregRF.c
but that doesn't do anything. It doesn't give me any error messages, but
it also doesn't create a shared (so) file. I just get the command prompt
back.
I also tried
2002 Jun 13
1
using MAKEFLAGS in compiling C code as a shared library using R CMD SHLIB
Dear R People,
in the R FAQ (in the R Programming section) it says
**********************************************************************
How can I change compilation flags?
===================================
Suppose you have C code file for dynloading into R, but you want to
use `R CMD SHLIB' with compilation flags other than the default ones
(which were determined when R was built).
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without
much success. I've been able to at least load the library on FreeBSD
(1.8.1). I've been able to perform this before using DLL that weren't
created using RCMD SHLIB, but simply compiling under MS DevStudio.
C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c
g77 -O2 -Wall -c as47.f
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without
much success. I've been able to at least load the library on FreeBSD
(1.8.1). I've been able to perform this before using DLL that weren't
created using RCMD SHLIB, but simply compiling under MS DevStudio.
C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c
g77 -O2 -Wall -c as47.f
2014 Jun 27
0
R CMD SHLIB failure (Win7 64-bit OS)
Dear all,
I am struggling to get the 'Rtools' tool chain to successfully build .dlls
using the "R CMD SHLIB" method on my home Win7 64-bit (Ultimate) PC.
Strangely I did get it working on my work PC (also Win7 64-bit but
Enterprise) so I am totally at a loss as to what to do.
When I type, "R CMD SHLIB foo.c" using the Command Prompt I get:
make: *** No rule to make
2009 Dec 10
0
R CMD SHLIB requesting makefile. Is a makefile required?
A few years ago I used the following to compile a shared object that I
wanted to call from R and it worked just fine.
R CMD SHLIB -o ~/my_C/R.shared.so/cocite.mat.so cocite.mat.c
Now when it is executed?I receive the following error message:
make: *** No rule to make target `cocite.mat.o', needed by
`/home/mkimpel/my_C/R.shared.so/cocite.mat.so'. Stop.
I've consulted R CMD SHLIB
2001 Mar 13
1
passing arguments to R CMD SHLIB
Dear People,
I want to run gcc with optimisation turned on (-O2), and with -Wall (all
warnings) enabled, when using R CMD SHLIB. When I do make, which is
R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm
in this case, I get
faheem ~/research/cftp>make
R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm
make[1]: Entering directory `/home/faheem/research/cftp'
gcc -I/usr/lib/R/include
2012 Feb 14
2
R CMD SHLIB in Windows XP - No output at all
Hello all,
I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please
note that I don't have the admin rights on the computer.
In terms of setup, I have followed the procedure :
=> installed Rtools 2.14
=> changed my path :
PATH=C:\Trading\R\RTools\bin;C:\Trading\R\RTools\MinGW\bin;C:\Trading\R\R-2.14.1\bin\i386;C:\WINDOWS\system32;%OTHER_PATHS%
But when I try R CMD
2006 Jul 13
0
R-2.3.1 --enable-R-shlib
Hi,
I've upgraded our server to the latest R version, everything went ok
until I wanted to install RServe for our java clients.
RServe needs the shared library which can be compiled using configure
--enable-R-shlib. All went ok but after running make I got this error:
gcc -shared -L/usr/local/lib64 -o libR.so Rembedded.o CConverters.o
CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o