search for: flibs

Displaying 20 results from an estimated 118 matches for "flibs".

Did you mean: libs
2000 Feb 08
0
configure doesn't accept f77 on alpha (PR#419)
...ps when checking if cc and f77 "agree on int and double". This is only due to a linking problem (linking fortran object with cc without for_main.o complains about unreloved dependency to main. Solution: add -expect_unresolved main to th linking step, see patch below --- ./aclocal.m4.dec-flibs-patch Mon Feb 7 14:33:25 2000 +++ ./aclocal.m4 Mon Feb 7 21:50:59 2000 @@ -366,8 +366,25 @@ r_cv_prog_f77_flibs_ok, [ echo " END" > conftest.f ${FC} -c ${FFLAGS} conftest.f 1>&AC_FD_CC 2>&AC_FD_CC - ${CC} ${LDFLAGS} -o conftest conftest.o ${...
2001 Oct 31
1
shared libraries on FreeBSD 4.*
...checking for dgemm_ in -lcomplib.sgimath... no checking for zherk in -lblas... no checking for dgemm_ in -lblas... no could not find your BLAS library ERROR: Configuration failed for package `Matrix' I solved the problem with Matrix by adding -L/usr/local/lib to the 'FLIBS' variable in $RHOME/etc/Makeconf. Then, it found the library and installed just fine. RODBC gives me the following error: Installing source package `RODBC' ... creating cache ./config.cache checking for library containing SQLTables... no configure: error: no ODBC driver manag...
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/s...
2004 May 31
1
Question about building library and BLAS
...is, the procedure does not use subroutines isamax.f, sgefa.f sgesl.f in BLAS, as expected. In fact, there are problems 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 -pi...
2001 Jul 06
4
How to build R-1.3.0 under HP-UX 11.00
...-L/usr/local/li b -ltermcap -lm /usr/bin/ld: Unsatisfied symbols: xdr_double (code) xdr_string (code) xdrstdio_create (code) xdr_bytes (code) xdr_int (code) i_len (code) d_sign (code) collect2: ld returned 1 exit status *** Error exit code 1 Do you know what to do? I have set FLIBS = -L/opt/f2c/lib -ln; previously FLIBS = /opt/f2c/lib -ln and it is not good. Best regards Kris PS. Sorry my english. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info&qu...
2001 Jul 06
4
How to build R-1.3.0 under HP-UX 11.00
...-L/usr/local/li b -ltermcap -lm /usr/bin/ld: Unsatisfied symbols: xdr_double (code) xdr_string (code) xdrstdio_create (code) xdr_bytes (code) xdr_int (code) i_len (code) d_sign (code) collect2: ld returned 1 exit status *** Error exit code 1 Do you know what to do? I have set FLIBS = -L/opt/f2c/lib -ln; previously FLIBS = /opt/f2c/lib -ln and it is not good. Best regards Kris PS. Sorry my english. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info&qu...
2009 Jan 13
2
Using fortran code which call LAPACK subroutines
...is too technical for me :-(... Could anyone help me for the procedure to do: -which part of the manual is relevant for this type of question? actually I'm speaking from writing R extensions, should I read R admin? -point 1.2 says: /Recent versions of Autoconf in fact allow an already set |FLIBS| to override the test for the FORTRAN linker flags. Also, recent versions of R can detect external BLAS and LAPACK libraries./ but nevertheless I have to include something more? or modify the script? -should I compile from SHLIB with other options or include it directly into a package and cretae...
2016 Apr 18
1
'nlme' package not compiling
...oring previous ?/Library/Frameworks/R.framework/Versions/3.2/Resources/library/nlme? Warning in install.packages : installation of package ?nlme? had non-zero exit status I'm using gfortran 4.8 from Macports and running OS X 10.11.4 with RStudio Version 0.99.893. I've tried to use the FLIBS command in R: FLIBS="-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin15/4.8.5/" so that it knows where the Fortran libraries are at and compile again, but it still searchesregardless for the directory: /usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2. which of course doesn't exi...
2000 Feb 08
0
0.99.0 --with-f77 configure problem
...-with-f77) configure fails with: checking for Fortran libraries... -lUfor -lfor -lFutil -lm -lots -lm checking whether Fortran libraries work correctly... no In case anyone else runs into this, the quick fix is to change line 2071 of configure from ${CC} ${LDFLAGS} -o conftest conftest.o ${FLIBS} \ to ${FC} ${LDFLAGS} -o conftest conftest.o ${FLIBS} \ (Or just change line 2076 to set r_cv_prog_f77_flibs_ok=yes, if you're sure your fortran setup is correct...) Rich ======= For those who actually want to know why... The error in config.log is that 'main' is unresolved. T...
2020 Oct 08
1
Installing package fails at "testing if installed package can be loaded from temporary location"
Dirk, thank you a thousand times. Indeed, src/Makevars was wrong. I modified Makevars so that now looks like the below and the package now compiled and linked properly. CXX_STD = CXX11 PKG_LIBS += $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) $(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()") PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -I../inst/include Best, Sam On Thu, Oct 8, 2020 at 3:39 PM Dirk Eddelbuettel <edd at debian.org> wrote: > > Sam, > > PS It could of course also be something e...
2015 Jun 03
2
Problem with shared library and lapack under windows
...n, X, n, ptr_BETA, res, q); } In Ubuntu I have no problem in compiling: R CMD SHLIB -llapack myfile.c. However, under Windows the -llapack flag is not recognised and I am able to get the code compiled only if I build an R package with the suitable Makevars file options: PKG_LIBS=$(LAPACK_LIBS) $(FLIBS). Is there a way to get the .dll without resorting to build a package? Thanks in advance, N. Lunardon -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-shared-library-and-lapack-under-windows-tp4708092.html Sent from the R devel mailing list archive at Nabble.com.
1999 Apr 12
3
Fortran vs C, easing using Fortran
...20 +0200 (MET DST) > From: Albrecht Gebhardt <albrecht.gebhardt@uni-klu.ac.at> > > I think in R we can do better than at present, if only I knew > > exactly how. One idea is to have (effectively) a `hints' file that > > configure uses to add a base set of libraries to FLIBS, but on Solaris > > at least, using the Fortran command (f77 or g77) to link a dynamic library > > does the job. For linking with ld the base FLIBS would need to be > > > > -lF77 -lM77 -lV77 -lsunmath -lm > > > > _if_ f77 is used. How viable is `use FC to lin...
2001 Jul 09
0
ODP: Re: How to build R-1.3.0 under HP-UX 11.00
...R checks for the headers rpc/rpc.h and rpc/xdr.h so you have those. Try man xdr and see if it requires an additional library. The last two are problems with missing -lf2c. Configuring with --with-f2c should include that for you. I think we need to know exactly what you did. Perhaps you needed FLIBS="-L/opt/f2c/lib -lf2c -lm"? On Fri, 6 Jul 2001, Krzysztof Kopera wrote: > Hello, > > I am new in R and I am delighted with it, so I am trying to bulid R-1.3.0 > from sources under HP-UX 11.00 using f2c and X11 support. Configuration > phase is OK but using make I have er...
2000 Feb 22
1
R-0.99 installation on UNIX
...ers used are C: gcc version 2.81 FORTRAN: f2c (from the gnu download packet f2c-1993_04_28_tar.gz) The Makeconf reads: PACKAGE = R VERSION = 0.99.0 AR = ar AWK = gawk BLAS = blas.o CC = gcc CFLAGS = -g -O2 CPICFLAGS = -fPIC CPPFLAGS = DEFS = -DHAVE_CONFIG_H DLLFLAGS = DVIPS = false FC = FFLAGS = FLIBS = FPICFLAGS = -PIC F2C = f2c F2CFLAGS = GNOMEUI_LIBS = GNOME_LIBDIR = GNOME_INCLUDEDIR = INSTALL = $(top_srcdir)/tools/install-sh -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_DIR = ${INSTALL} -d LATEX = false LDCMD = gcc LDFLAGS = LIBGLADE_CFLAGS = LIBGLADE_LIBS = LIB...
1998 Nov 24
0
Additional autoconf test for linuxppc/mklinux
I am attaching a patch to R-0.63's configure.in file which will enable R to detect and use some special math libraries on linuxppc and mklinux. The patch provides tests for these libraries and enable/disable switches for them as well. One library is the libmoto math library which must be used in conjunction with libm (it only replaces some of libm's functions). The other is a RISC
2007 May 29
1
LAPACK and BLAS libraries
...found that email address where I can maybe find some help. Well my main goal is to get to use the lapack library within my R package (which can be done using calls from C). But in order to do this I have to create a file src/Makevars with the following line : PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) However when I create this file, my package won't build anymore. Actually the checking results in the following : mingw32\bin\ld.exe: cannot find -lg2c collect2: ld returned 1 exit status make[3]: *** [PACKAGE.dll] Error 1 make[2]: *** [srcDynlib] Error 2 make[1]: *** [all] Error 2 make: ***...
1998 Nov 24
0
Additional autoconf test for linuxppc/mklinux
I am attaching a patch to R-0.63's configure.in file which will enable R to detect and use some special math libraries on linuxppc and mklinux. The patch provides tests for these libraries and enable/disable switches for them as well. One library is the libmoto math library which must be used in conjunction with libm (it only replaces some of libm's functions). The other is a RISC
2006 Sep 20
1
alpha, portable use
When I build one of my packages with alpha from yesterday I am getting * checking for portable use of $BLAS_LIBS ... WARNING apparently missing $(FLIBS) in 'PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS)' Is this something I should worry about? (Possibly I got this before and didn't notice.) Paul Gilbert ==================================================================================== La version fran?aise suit le texte anglais. --------...
2007 May 29
1
LAPACK and BLAS libraries
...found that email address where I can maybe find some help. Well my main goal is to get to use the lapack library within my R package (which can be done using calls from C). But in order to do this I have to create a file src/Makevars with the following line : PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) However when I create this file, my package won't build anymore. Actually the checking results in the following : mingw32\bin\ld.exe: cannot find -lg2c collect2: ld returned 1 exit status make[3]: *** [PACKAGE.dll] Error 1 make[2]: *** [srcDynlib] Error 2 make[1]: *** [all] Error 2 make: ***...
2007 Jun 14
1
LAPACK Headers
...ry Can someone explain to me how I should include the headers to this AWESOME wrapper code to the LAPACK libraries? Am I not following the proper protocol by using these La_* commands in my package source code? Note, I also have the following in Makevars PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) TIA! I initially posted this question on the general list, but I didn't get any responses.