search for: shlib_ld

Displaying 20 results from an estimated 28 matches for "shlib_ld".

2010 Jul 12
2
R-2.11.1 build and 'so' libraries withouth the 'lib' prefix
...nd lapack using the switched ( --with-blas="- lpthread -latlas -lfptf77blas" --with-lapack="-llapack -lcblas" ). (( http://cran.r-project.org/doc/manuals/R-admin.html#Linear-algebra) ) Prior to compiling R-2.11.1 sh conigure --help gave options including the following SHLIB_LD command for linking shared libraries which contain object files from a C or Fortran compiler only SHLIB_LDFLAGS special flags used by SHLIB_LD SHLIB_CXXLDFLAGS special flags used by SHLIB_CXXLD SHLIB_FCD co...
2016 Aug 07
1
Quote symbol names under EXPORTS in tmp.def on Windows
I originally posted on this topic on a different thread: https://stat.ethz.ch/pipermail/r-devel/2016-August/072938.html These sources suggested that a safe practice might be to put double quotes around symbol names in EXPORTS in case the symbol name is the same as a linker keyword: - https://sourceware.org/binutils/docs/ld/Symbols.html#Symbols -
2010 Mar 22
2
some fixes for R 2.01.1 on OpenSolaris using Sun Studio compilers
...5; then ## <NOTE> ## This should really use MAIN_LD, and hence come after this is ## determined (and necessary additions to MAIN_LDFLAGS were made). ## But it seems that we currently can always use the C compiler. ## Also, to be defensive there should be a similar test with SHLIB_LD ## and SHLIB_LDFLAGS (and note that on HPUX with native cc we have to ## use ld for SHLIB_LD) ... if ${CC} ${CFLAGS} ${LDFLAGS} ${MAIN_LDFLAGS} -o conftest${ac_exeext} \ conftest.${ac_objext} conftestf.${ac_objext} ${FLIBS} \ ${LIBM} 1>&5 2>&5; ## </NO...
2011 Sep 09
1
R CMD INSTALL configure.args and CC customization
I am running into the following issue that has been previously reported on the R-devel mailing list. The short version is that I'm writing a package for MPI, and I'd like to change CC and SHLIB_LD to "mpicc". Trying to change them in Makevars.in has no effect, because the values are clobbered by /etc/R/Makeconf. Will the following changes to Makeconf.in introduce any problems? --Michael Subject: [Rd] R CMD INSTALL configure.args and CC customization From: Paul Johnson (paul......
2009 Jul 23
1
problem building R 2.9.1 from source on RHEL 4 (x86_64)
I am building from source on RHEL 4 and have run into a problem while running "make check": running code in 'lapack.R' ...make[3]: *** [lapack.Rout] Error 1 make[3]: Leaving directory `/opt/R/R-2.9.1/tests' make[2]: *** [test-Specific] Error 2 make[2]: Leaving directory `/opt/R/R-2.9.1/tests' make[1]: *** [test-all-basics] Error 1 make[1]: Leaving
2007 Jul 30
0
install error for RBGL_1.12.0 on linux ---2
...GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) 2) the SHLIB file is the same, but some difference in /usr/local/lib/R/etc/Makeconf: SHELL = /bin/sh SHLIB_CFLAGS = SHLIB_CXXFLAGS = SHLIB_CXXLD = g++ SHLIB_CXXLDFLAGS = -shared SHLIB_EXT = .so SHLIB_FCLD = g77 SHLIB_FCLDFLAGS = -shared SHLIB_FFLAGS = SHLIB_LD = gcc -std=gnu99 SHLIB_LDFLAGS = -shared SHLIB_LIBADD = SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) what should I do? thanks, xinan
2004 Jun 09
2
Building package on Windows: No rule to make target '-llapack'
Dear all, I have a problem to build a package on Windows XP while there is no problem on Linux. The Makefile is something like: ########### LIBNAME=cts PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) OBJS=file1.o ... file20.o -llapack -lblas $(LIBNAME)$(SHLIB_EXT): $(OBJS) $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS) clean: @rm -f *.o *.$(SHLIB_EXT) realclean: clean ############# To build the package on Windows XP, I have followed the instructions to install tools/software required and it seems the 'make' worked fine, except for the error message: ma...
2018 Feb 13
4
Setting the path to Rtools for package compilation on Windows
...-mtune=generic -c bucketApproxSort.cc -o bucketApproxSort.o c:/Rtools/mingw_32/bin/g++: not found make: *** [bucketApproxSort.o] Error 127 Warning: running command 'make -f "Makevars.win" -f "M:/R/R-3.4.3/etc/i386/Makeconf" -f "M:/R/R-3.4.3/share/make/winshli b.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="WGCNA.dll" OBJECTS="bucketApproxSort.o corFun ctions-common.o corFunctions-unified.o networkFunctions.o pivot.o quantileC.o"' had status 2 ERROR: compilation failed for package 'WGCNA' * remo...
2011 Oct 11
1
R CMD INSTALL configure.args and CC customization
...W_ZQerycbVU4K_2Dun1ytqNXQ7g%40mail.gmail.com%3E> > /Fri Sep 9 20:40:42 CEST 2011/ > I am running into the following issue that has been previously > reported on the R-devel mailing list. The short version is that I'm > writing a package for MPI, and I'd like to change CC and SHLIB_LD to > "mpicc". Trying to change them in Makevars.in has no effect, because > the values are clobbered by /etc/R/Makeconf. Will the following > changes to Makeconf.in introduce any problems? > > --Michael -- George Ostrouchov Statistics and Data Sciences Group Computer Scie...
2004 May 31
1
Question about building library and BLAS
...s to use these subroutines in BLAS, for some reason. Now what I want is to build an R library. The Makefile is the following: LIBNAME=car PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) OBJS=isamax.o saxpy.o sscal.o foo1.o ... foo20.o -llapack -lblas $(LIBNAME)$(SHLIB_EXT): $(OBJS) $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS) clean: @rm -f *.o *.$(SHLIB_EXT) realclean: clean Some compiling outputs are the following: g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c isamax.f -o isamax.o ... g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c foo1....
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
...GS = LIBM = -lm LIBR = -L$(R_HOME)/bin -lR LIBS = -L/usr/local/lib -lz -lreadline -ldl -lncurses -lm LIBPATHS = -L/usr/local/lib LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool SHELL = /bin/sh SHLIB_CFLAGS = SHLIB_CXXFLAGS = SHLIB_CXXLD = c++ SHLIB_CXXLDFLAGS = -shared SHLIB_EXT = so SHLIB_FFLAGS = SHLIB_LD = gcc SHLIB_LDFLAGS = -shared SHLIB_LIBADD = SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) -- Jonathan Q. Li, PhD Agilent Technologies Laboratory Palo Alto, California, USA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://w...
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
...GS = LIBM = -lm LIBR = -L$(R_HOME)/bin -lR LIBS = -L/usr/local/lib -lz -lreadline -ldl -lncurses -lm LIBPATHS = -L/usr/local/lib LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool SHELL = /bin/sh SHLIB_CFLAGS = SHLIB_CXXFLAGS = SHLIB_CXXLD = c++ SHLIB_CXXLDFLAGS = -shared SHLIB_EXT = so SHLIB_FFLAGS = SHLIB_LD = gcc SHLIB_LDFLAGS = -shared SHLIB_LIBADD = SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) -- Jonathan Q. Li, PhD Agilent Technologies Laboratory Palo Alto, California, USA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://w...
2006 May 01
6
R-2.3.0 make error
Dear list, When compiling the R-2.3.0 on FC4 x86_64, I got the following errors: make[3]: Entering directory `/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main' gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o
2009 Mar 21
2
How to change Rlapack by lapack (for rpy2 installation)?
(I asked an earlier question on the rpy2 installation to the rpy2 list, the solution there was to edit the setup.py script, but this looks beyond what I can do unless someone tells me exactly what to modify). I have R 2.8.1 on 2 machines running ubuntu 8.04 (packages R-base and R-base-dev, among others, installed using Synaptic) and while the installation of rpy2 went fine on machine1, failed on
2002 Jan 15
0
errors intalling splancs and sgeostat
...specified, the value # of CPICFLAGS above is used. # FPICFLAGS= # The command to be used to load shared libraries which contain object # files from a C or Fortran compiler only. This is usually the C # compiler or `ld', but the automatic choice can be overridden by means # of this variable. # SHLIB_LD= # Any special flags which are required by the linker when creating # shared libraries containing object files from a C or Fortran # compiler only. This is usually automatically detected by configure, # and anything set here will be in addition unless SHLIB_LD is given. # SHLIB_LDFLAGS= # For `-...
2018 Feb 13
0
Setting the path to Rtools for package compilation on Windows
...Sort.cc > -o bucketApproxSort.o > c:/Rtools/mingw_32/bin/g++: not found > make: *** [bucketApproxSort.o] Error 127 > Warning: running command 'make -f "Makevars.win" -f > "M:/R/R-3.4.3/etc/i386/Makeconf" -f "M:/R/R-3.4.3/share/make/winshli > b.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' > SHLIB="WGCNA.dll" OBJECTS="bucketApproxSort.o corFun > ctions-common.o corFunctions-unified.o networkFunctions.o pivot.o > quantileC.o"' had status 2 > ERROR: compilation failed for package ...
2015 May 11
1
LDFLAGS defined in R_MAKEVARS_USER file is ignored for R CMD SHLIB on Windows
Example input and output to reproduce this can be found at https://gist.github.com/jimhester/b7f05f50794c88e44b17. I tested this attempting to compile the [digest]( http://cran.r-project.org/web/packages/digest/index.html) package, `run.sh` and `run.bat` were both run in the package source directory on Ubuntu 14.01 and Windows 7 respectively. In particular while the `CFLAGS` values were properly
2017 Jun 03
3
cygwin1.dll problems when installing packages from source
...command 'make -f "Makevars" -f "C:/R/R-34~1.0/etc/i386/Makeconf" -f "C:/R/R-34~1.0/share/make/winshlib.mk" -f "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)' CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' SHLIB="Boom.dll" ' had status 2 ERROR: compilation failed for package 'Boom' * removing 'C:/RownLib/Boom' * restoring previous 'C:/RownLib/Boom' Warning in install.packages : running com...
2017 Jun 03
2
cygwin1.dll problems when installing packages from source
...>> "C:/R/R-34~1.0/etc/i386/Makeconf" -f >> "C:/R/R-34~1.0/share/make/winshlib.mk" -f >> "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)' >> CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' >> SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' >> SHLIB="Boom.dll" ' had status 2 >> ERROR: compilation failed for package 'Boom' >> * removing 'C:/RownLib/Boom' >> * restoring previous 'C:/RownLib/Boom' >&gt...
2010 Jun 08
3
Question on trying to build R 2.11.1 on Tru64(aka OSF1) system
...ct the correct ## value by configure. ## FPICFLAGS= ## The command to be used to create shared objects which contain object ## files from a C or FORTRAN 77 compiler only. This is usually the C ## compiler or 'ld', but the automatic choice can be overridden by means ## of this variable. ## SHLIB_LD= ## Any special flags which are required by the linker when creating ## shared objects containing object files from a C or FORTRAN 77 ## compiler only. This is usually automatically detected by configure, ## and anything set here will be in addition unless SHLIB_LD is given. ## SHLIB_LDFLAGS= ##...