search for: shlibldflag

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

Did you mean: shlibldflags
1999 Apr 12
3
Fortran vs C, easing using Fortran
...ut the only way to build R on my > Alphas currently is using Fortran as LDCMD: > > in config.site: > LDCMD="f77 " > > SHLIBLD is "ld -shared -expect_unresolved '*'". I would have expected LDCMD=f77 LDFLAGS="-g -nofor_main -fpe3" SHLIBLD=ld SHLIBLDFLAGS="-shared -expect_unresolved '*'" as the way to encode that. Now my question amounts to Does SHLIBLD=f77 work with those SHLIBLDFLAGS? If not, can SHLIBLDFLAGS be modified to make it work? Brian -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied...
1999 Sep 16
2
install/libraries on solaris2.6 (PR#280)
Full_Name: ulrich poetter Version: 0.65.0 OS: sparc-sun-solaris 2.6 Submission from: (NULL) (134.147.95.163) Building R-0.65.0 on sparc-sun-solaris2.6 using sun make + gcc 2.95.1+ binutils 2.8.1 and ./configure --with-g77 fails when building the eda etc. libraries. The configure script produces SHLIBLDFLAGS= -G. Replacing this in config.site by SHLIBLDFLAGS = -shared gives no errors during make, but "make check" fails when trying to load library "eda" with the message "Symbol rsort not found". Trying the other libraries by hand results in similar errors, except for &q...
1999 Jun 28
1
R-0.64.1 make problem: Solaris 2.4
...ages in this directory on the latest attempt: g77 -O2 -PIC -c loessf.f -o loessf.o gcc: unrecognized option `-PIC' g77 -O2 -PIC -c ppr.f -o ppr.o gcc: unrecognized option `-PIC' ... In config.site, I specifically requested the option FPICFLAGS=-fPIC, consistent with CPICFLAGS. I also set SHLIBLDFLAGS=-G in config.site. Furthermore, no errors or warnings about setting these flags in ./configure were encountered, since it (finally) found xmkmf. >From the man page, -w is a legitimate option for Gnu make (gmake on this system), so I'm at a loss how to proceed at this point. I don't u...
2000 Jun 15
1
Missing -lc for compilation on AIX (R 1.1.0) (PR#571)
...cleanly on Linux and Sun. But AIX, of course, is a problem... When linking shared libs, the symbols from libc.a are not found. I apologize for not investigating this further at the moment - they may not be properly or not all exported from R.bin. Fix: I've added ' -lc' to SHLIBLDFLAGS in Makeconf and etc/Makeconf in my build directory after running configure. Then compilation proceeds without problems. (Alternatively, you could use cc instead of ld to link.) Regards, -tom P.S. Any reason the status field is empty? It is stable, right? ;-) --please do not edit t...
1999 Jul 07
1
Almost succesfull build on AIX
...LIBS = -ldl -ltermcap -lm LN_S = ln -s MAKEINDEX = /usr/local/bin/makeindex MKINSTALLDIRS = $(top_srcdir)/tools/mkinstalldirs R_XTRA_CFLAGS = R_XTRA_CPPFLAGS = -I. -I../include -I$(top_srcdir)/src/include R_XTRA_FFLAGS = R_XTRA_LIBS = RANLIB = ranlib SHELL = /bin/sh SHLIBEXT = so SHLIBLD = f77 SHLIBLDFLAGS = -bM:SRE -H512 -T512 -bnoentry -bexpall -bI:$(R_HOME)/etc/R. exp -lc -lm TAR = tar X_CFLAGS = X_LIBS = -lX11 X_PRE_LIBS = X_EXTRA_LIBS = YACC = bison -y -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.a...
1999 Sep 02
1
unresolved symbols in growth and repeated libraries
...gure. # # ${R_HOME}/etc/Makeconf CC = gcc CFLAGS = -g -O2 CPICFLAGS = -fPIC CPPFLAGS = DEFS = -DHAVE_CONFIG_H FC = g77 FFLAGS = -g -O2 FLIBS = -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib -lg2c -lm FPICFLAGS = -fPIC F2C = F2CFLAGS = SHLIBEXT = so SHLIBLD = gcc SHLIBLDFLAGS = -shared R_XTRA_CFLAGS = -mieee-fp R_XTRA_CPPFLAGS = -I$(R_HOME)/include R_XTRA_FFLAGS = ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(CPPFLAGS) $(DEFS) ALL_CFLAGS = $(R_XTRA_CFLAGS) $(CPICFLAGS) $(CFLAGS) ALL_FFLAGS = $(R_XTRA_FFLAGS) $(FPICFLAGS) $(FFLAGS) .SUFFIXES: .SUFFIXES: .c .f .o .c.o: $(CC...
1997 Aug 04
1
R-alpha: Re: your mail
>>>>> Thomas Lumley writes: > On Fri, 1 Aug 1997, Kurt Hornik wrote: >> Thomas, >> >> Could you add the "-lf2c" at the end of the line >> @$(LD) $(SHLIBLDFLAGS) -o $(LIBNAME).so $(OBJS) >> in acepack's src-c/Makefile? >> >> I ran across an identical pow_dd problem recently with another package. >> Did we always need the "-lf2c", or is this a feature of the new version? >> > This is very strange. My copy...
2000 Jun 16
2
Missing -lm for tcltk (R 1.1.0, AIX 4.3) (PR#573)
...hz.ch > Subject: [Rd] Missing -lm for tcltk (R 1.1.0, AIX 4.3) (PR#573) > CC: R-bugs@biostat.ku.dk > X-Loop: R-bugs@biostat.ku.dk > > Hi, > > ok, AIX 4.3 insists on being different. I can't compile --with-tcltk > out of the box. I have to add '-lm' to the SHLIBLDFLAGS manually > after configure. Yes, I guess that's because it insists on resolving libm at the shared libs build stage. > Which brings up the question: Can you use TK_LIBS instead of TK_XLIBSW > during configure? Excerpt from tkConfig.sh on my machine: > > # Linker switch...
1999 Apr 19
2
A couple problems installing 0.64 (under linux, redhat 5.2)
...ring and making R 0.64 under linux, redhat 5.2 These problems didn't occur when I build 0.63.2 Any suggestions would be greatly appreciated. (1) configure generates the warning: "configure: warning: Cannot determine how to create shared libraries. Please set CPICFLAGS, FPICFLAGS and SHLIBLDFLAGS in `config.site'." I'm not sure what's needed here. The only flag I use to create shared libs is '-shared', but adding that to config.site not make the warning go away. (2) Apparently there are some X headers that make is not finding. Make generates the (terminal) erro...
2000 Jun 19
1
Trying to compile R on Unix
...modreg mva nls splines stepfun ts R_XTRA_CFLAGS = @R_XTRA_CFLAGS@ R_XTRA_CPPFLAGS = -I. -I../include -I$(top_srcdir)/src/include -I$(top_srcdir)/src/include/R_ext R_XTRA_FFLAGS = @R_XTRA_FFLAGS@ R_XTRA_LIBS = @R_XTRA_LIBS@ RANLIB = @RANLIB@ SHELL = /bin/sh SHLIBEXT = @SHLIBEXT@ SHLIBLD = @SHLIBLD@ SHLIBLDFLAGS = @SHLIBLDFLAGS@ TAR = @TAR@ X_CFLAGS = @X_CFLAGS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ YACC = @YACC@ ALL_CFLAGS = $(R_XTRA_CFLAGS) $(CFLAGS) ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(CPPFLAGS) $(DEFS) ALL_FFLAGS = $(R_XTRA_FFLAGS) $(FFLAGS) .SUFFIXES: .SUFFIXES: ....
1997 Jul 31
1
R-beta: acepack with 0.50-a1
I have an hp9000/c160 with hpux10.20+gcc2.7.2. When I try the example in the ace help I get: > library(acepack) > ?ace > TWOPI <- 8*atan(1) > x <- runif(200,0,TWOPI) y <- exp(sin(x)+rnorm(200)/2) a <- avas(x,y) /usr/lib/dld.sl: Unresolved symbol: pow_dd (code) from /home/buyuk/R-0.50-a1/lib/acepack.so ABORT instruction (core dumped)
1999 Jan 12
1
Re: Welcome to r-help
just testing -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
1998 Feb 03
0
fortran Makefile
...assume this is something that gets set by configure, but I'm not sure. What should be in the Makefile for the fortran, or should I not have any Makefile in the src directory? The src-c/Makefile is LIBNAME=dse LD=ld OBJS= dsefor.o all: $(LIBNAME).so message $(LIBNAME).so: $(OBJS) $(LD) $(SHLIBLDFLAGS) -o $@ $(OBJS) clean: @rm -f *.o *.so Below is a copy of an email with the errors from the attempted fortran compile, and a manual way to compile, but I'm not sure how much of that should be done in the Makefile and how much is done by configure. Paul Gilbert ___________ Thanks a lot f...
2000 Jun 16
0
Missing -lm for tcltk (R 1.1.0, AIX 4.3) (PR#573)
Hi, ok, AIX 4.3 insists on being different. I can't compile --with-tcltk out of the box. I have to add '-lm' to the SHLIBLDFLAGS manually after configure. Which brings up the question: Can you use TK_LIBS instead of TK_XLIBSW during configure? Excerpt from tkConfig.sh on my machine: # Linker switch(es) to use to link with the X11 library archive. TK_XLIBSW='-lX11' # Additional libraries to use when linking...
1998 Feb 17
1
R-beta: R on AIX running with errors
...ist(1:20) Error in seq(z$l, z$u, length = z$n + 1) : negative length vectors are not allowed > library(mva) Error: invalid number of copies in "rep" > I made two changes because of AIX, before starting ./configure and make, so that make was runing without error messages 1. Setting SHLIBLDFLAGS="-shared" in the config.site file 2. deleting the function "double trunc(double x)" in the file src/math/round.c Changes I made because of installing R on an AFS file system are substituting hard links by symbolic links and preventing, due to this changes, the deleting of f...
1997 Aug 18
1
R-beta: bug report
The following seems to be a bug when I tried to use the predict function. > forbes boil.pt pressure log.pressure [1,] 194.5 20.79 303.4472 [2,] 194.3 20.79 303.4472 [3,] 197.9 22.40 310.9061 [4,] 198.4 22.67 312.1042 [5,] 199.4 23.15 314.1995 [6,] 199.9 23.35 315.0597 [7,] 200.9 23.89 317.3460 [8,] 201.1 23.99
1999 Jun 28
0
R-0.64.1 make problem, Solaris 2.4: Solution
...f.f -o loessf.o gcc: unrecognized option `-PIC' g77 -O2 -PIC -c ppr.f -o ppr.o gcc: unrecognized option `-PIC' g77 -O2 -PIC -c ppr.f -o ppr.o gcc: unrecognized option `-PIC' ... In config.site, I specifically requested the option FPICFLAGS=-fPIC, consistent with CPICFLAGS. I also set SHLIBLDFLAGS=-G in config.site. Furthermore, no errors or warnings about setting these flags in ./configure were encountered, since it (finally) found xmkmf. >From the man page, -w is a legitimate option for Gnu make (gmake on this system), so I'm at a loss how to proceed at this point. I don't un...
1998 Aug 28
0
R-beta: R-0.62.3 is released
...ent to sys.frame(sys.parent()). This also removes the problem where data.frame mangles I(x^2) and similar names, so that the "reorder" sanity check at the end fails. o The handling of extra FORTRAN libraries (f2c-related and BLAS) should now be correct. Via SHLIBLDFLAGS, add-ons will also be linked against these libraries. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)...
1998 Aug 28
0
R-beta: R-0.62.3 is released
...ent to sys.frame(sys.parent()). This also removes the problem where data.frame mangles I(x^2) and similar names, so that the "reorder" sanity check at the end fails. o The handling of extra FORTRAN libraries (f2c-related and BLAS) should now be correct. Via SHLIBLDFLAGS, add-ons will also be linked against these libraries. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)...
1998 Apr 02
2
f2c
I have a problem with my dynamically loaded code in R not finding pow_ii, which for some time I thought was because library f2c is not on my Sparcstation. However, I have now been experiencing the same problem in Linux, with all the proper libraries in place. My incomplete understanding of elf and shared libraries does not help, but when compiling a complete program I usually muddle through.