search for: shlib_ldflags

Displaying 20 results from an estimated 97 matches for "shlib_ldflags".

2011 Nov 03
3
[PATCH 0 of 2 RESEND] tools: add two new compile flags and perform checks on user defined folders.
Added two new sets of compile flags, and pass them to the check scripts, so libraries and includes are searched there also. Resend this patches because they suffered some modifications and where scattered along the mailing list. Please review, thanks Roger. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010 Jul 12
2
R-2.11.1 build and 'so' libraries withouth the 'lib' prefix
....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 command for linking shared libraries which contain object files from the Fortran 95 compiler SHLIB_FCLDFLAGS special f...
2012 Apr 06
1
Building R on Solaris (OpenIndiana) with gcc 4.6.2 for amd64 target - relocation problems solved
Hello, the "R Installation and Administration" handbook states in Section C 5.1: For ?amd64? the builds have failed to complete in several different ways, currently with relocation errors for libRblas.so. To fix it: add '-shared' to the SHLIB_LDFLAGS, SHLIB_CXXLDFLAGS and SHLIB_FCLDFLAGS before starting configure. So the complete set of variables' values sufficient to build for the amd64 target (as used on OpenIndiana 151a2 with gcc 4.6.2): SHLIB_LDFLAGS=-shared SHLIB_CXXFLAGS=-shared SHLIB_FCLDFLAGS=-shared CFLAGS=-m64 CXXFLAGS=-m64 FFL...
2003 May 08
1
problems compiling R on AIX5.1
...;ve done it: First of all, it seems that configure and some shared libraries of AIX does not work at the same time. I tried to configure & make with the following environment vars CC=xlc F77=xlf CCC=xlC CFLAGS=-O3 -qstrict -qmaxmem=8192 FFLAGS=-O3 -qstrict -qmaxmem=8192 MAIN_LDFLAGS=-Wl,-brtl SHLIB_LDFLAGS=-Wl,-G CXXFLAGS=-O2 -qmaxmem=8192 FC=xlf CCFLAGS=-O3 -qstrict -qmaxmem=8192 But for some reason at make the compilation failed when trying to locate a shared library for X. For this reason I tried to discard shared libraries enabling --disable-shared on configure, but this didn't help (Nor re...
2015 Nov 23
4
compile question
> On 23 Nov 2015, at 22:30 , aixtools <aixtools at gmail.com> wrote: > >> >> ./configure --enable-maintainer-mode ... Two things here - possibly irrelevant, but I'd avoid building in the source directory. (mkdir ../BUILD ; cd ../BUILD; ../R/configure) - don't turn on mantainer mode. You are not a maintainer, and if you want to play at being one, I think you
2005 Dec 05
0
Compiling R under AIX 4.3
...lo rbitmap.lo -lSM -lICE -lX11 -ljpeg -lpng -lz /usr/local/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.3/../../../../powerpc-ibm-aix4.3.2.0/bin/ld: -static and -shared may not be used together collect2: ld returned 1 exit status make[4]: *** [R_X11.so] Error 1 If I add -Wl,-G the same error! If I unset SHLIB_LDFLAGS % $MAKE SHLIB_LDFLAGS=" " make[4]: Entering directory `/home/mau/sy/R-2.2.0/src/modules/X11' /usr/local/bin/gcc -L/usr/local/lib -o R_X11.so dataentry.lo devX11.lo rotated.lo rbitmap.lo -lSM -lICE -lX11 -ljpeg -lpng -lz /lib/crt0.o: :(.pr+0x88): undefined reference to `.main'...
2007 Feb 02
1
Problem installing R-2.4.1 on AIX 5.3
Dear all, I have some problems to install R-2.4.1 on AIX 5.3. Configure string: ./configure --with-readline=no LDFLAGS='-bshared' --with-jpeglib=no --with-libpng=no --with-lapack=no --prefix=/cineca/prod/Bioinf/R-2.4.1 configure .site= #! /bin/sh CC=xlc F77=xlf MAIN_LDFLAGS=-Wl,-brtl SHLIB_LDFLAGS=-Wl,-G CXX=xlc CXXFLAGS=' -g -O' SHLIB_LDFLAGS=-W1, -G MAKE=gmake Configure ends successfully, but the make fails: ---cut de -DHAVE_CONFIG_H -I/usr/local/include -g -c init.c -o init.o xlc -qlanglvl=extc99 -Wl,-G -Wl,-G -Wl,-bexpall -Wl,-bnoentry -bshared -o grDevices.so chul...
2015 Nov 26
0
compile question
...bpT:0x100000000 ${wl}-bpD:0x110000000 -lc" + main_ldflags="${wl}-brtl ${wl}-bexpall ${wl}-bpT:0x100000000 ${wl}-bpD:0x110000000" else - main_ldflags="${wl}-brtl ${wl}-bexpall -lc" + main_ldflags="${wl}-brtl ${wl}-bexpall" fi - shlib_ldflags="${wl}-brtl ${wl}-G ${wl}-bexpall ${wl}-bnoentry -lc" + ## MAMF: This black magic is clearly not working, removed from main_ldflags to be consistent + shlib_ldflags="${wl}-brtl ${wl}-G ${wl}-bexpall ${wl}-bnoentry" SHLIB_LIBADD="\$(LIBM)" shlib_c...
2002 Mar 24
1
R on AIX
...nition error message. */ etc ... noting the 'AIX 3' part, I am wondering if we need the macro at all. Does anyone know? * Dan also pointed me to 'run-time linking' vs the usual AIX style linking. Using run-time linking one could simply do MAIN_LDFLAGS=-brtl SHLIB_LDFLAGS="-G" instead of the complicated import/export handling with AIX linking, and apparently also no longer need an export file? Dan says that run-time linking is available in AIX 4.2 or better, does anyone know more about this? Should it perhaps be made the default if available?...
2005 Mar 01
1
Problems Building Ron AIX 5.2.0.0 (Solved)
Happily I got this to work, largely by trial-and-error. In hopes that this will help somebody else, my config.site ended up being: OBJECT_MODE=64 R_PAPERSIZE=letter CC=/usr/local/bin/gcc MAIN_LDFLAGS=-Wl,-brtl SHLIB_LDFLAGS=-Wl,-G Which is virtually identical to that recommended in R-admin: one of my problems was using "-W1,brtl" rather than "-W1,-brtl". This was R 2.0.1 on AIX 5.2.0.0 with GCC 3.3.2 The previous messages I'd posted on this issue are included below. Paul =================...
2003 May 08
0
problems compiling R on AIX5.1 (PR#2953)
...;ve done it: First of all, it seems that configure and some shared libraries of AIX does not work at the same time. I tried to configure & make with the following environment vars CC=xlc F77=xlf CCC=xlC CFLAGS=-O3 -qstrict -qmaxmem=8192 FFLAGS=-O3 -qstrict -qmaxmem=8192 MAIN_LDFLAGS=-Wl,-brtl SHLIB_LDFLAGS=-Wl,-G CXXFLAGS=-O2 -qmaxmem=8192 FC=xlf CCFLAGS=-O3 -qstrict -qmaxmem=8192 But for some reason at make the compilation failed when trying to locate a shared library for X. For this reason I tried to discard shared libraries enabling --disable-shared on configure, but this didn't help (Nor re...
2005 Aug 13
1
Broken tkrplot on Mac OS X
...HOME says the path to RHOME > directory). > In this file you must change: > > (line 41 in my case) > SHLIB_CXXLDFLAGS = -bundle -flat_namespace -undefined suppress > replaced by: > SHLIB_CXXLDFLAGS = -dynamiclib -flat_namespace -undefined suppress > > (line 45 ...) > SHLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress > replaced by: > SHLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress > > then move to the src directory in the tkrplot you just download and link > tkrplot > with the statement: R CMD SHLIB -o tkrplot.so. Then move tkrplot...
2005 Feb 25
1
Problems Building R on AIX 5.2.0.0 (Update)
Hi, My previous message is appended: I'm still struggling with building on AIX. I updated my config.site to follow the suggestions from R-admin: MAIN_LDFLAGS=-Wl,brtl SHLIB_LDFLAGS=-Wl,-G This led to an error during configure: checking whether mixed C/Fortran code can be run... configure: WARNING: cannot run mixed C/Fortan code configure: error: Maybe check LDFLAGS for paths to Fortran libraries? This confused me a bit, because before adding the MAIN_LDFLAGS and SHLIB_LDFL...
2006 Apr 13
1
xmkmf? problem
...alias, -i Read list of aliases from stdin. --skip-alias Ignore option --read-alias; don't read stdin. --read-functions Read shell functions from stdin. --skip-functions Ignore option --read-functions; don't read stdin. configure: WARNING: I could not determine SHLIB_LDFLAGS. configure: error: See the file doc/html/R-admin.html for more information. ~/toolchain/R/mfa04559/R-beta: ==================================================================================== La version fran?aise suit le texte anglais. -------------------------------------------------------------...
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
2015 Dec 16
2
Building R in 64-bit mode
...0x100000000 ${wl}-bpD:0x110000000 -lc" + main_ldflags="${wl}-brtl ${wl}-bpT:0x100000000 ${wl}-bpD:0x110000000 -lc" else - main_ldflags="${wl}-brtl ${wl}-bexpall -lc" + main_ldflags="${wl}-brtl ${wl}-bmaxdata:0xd0000000/dsa -lc" fi - shlib_ldflags="${wl}-brtl ${wl}-G ${wl}-bexpall ${wl}-bnoentry -lc" + shlib_ldflags="${wl}-G ${wl}-bnoentry -lc" SHLIB_LIBADD="\$(LIBM)" shlib_cxxldflags="${shlib_ldflags}" if test "${GCC}" = yes; then diff -ru R-3.2.3.orig/src/include/Defn.h...
2007 Jul 30
0
install error for RBGL_1.12.0 on linux ---2
...at 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
2002 Sep 20
1
Install with 64-bit GCC 3.2 : FIX (PR#2049)
I was able to get it all to compile by altering the src_dir/etc/Makeconf file so that the shared lib LD flags variables contain -m64 SHLIB_CXXLDFLAGS = -G -m64 SHLIB_LDFLAGS = -G -m64 these only had "-G" by default. Dunno why they dont pick them up as part of the standard configure though - one for you I guess ! -- Regards, ---------------------------------------------------------------------- * Kevin M. Buckley e-mail: K.Buckley@lancaster....
2002 Oct 23
0
R-1.6.1 with gcc-3.3
This is probably only interesting to zero or one or two persons. gcc-3.3 from Apple's CVS does not handle the -bundle flag properly. I had to hack configure.ac, which now has shlib_ldflags="-nostdlib /usr/lib/bundle1.o -Wl,-bundle -Wl,-bundle_loader,/usr/local/lib/R/bin/R.bin -lgcc" ;; LIBR_LDFLAGS="-dynamiclib -install_name \$(Rexeclibdir)/libR.dylib -framework Carbon" i.e. I have also switched over to two-level namespaces. If the -bundle flag is fixed, the...
2006 Jun 02
1
Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
Full_Name: Karsten Tabelow Version: R-2.3.1 OS: AIX5.3 Submission from: (NULL) (62.141.176.2) Specification in config.site: CC=xlc_r CFLAGS='-O -qstrict' F77=xlf_r FFLAGS='-O -qstrict' SHLIB_LDFLAGS='-G' DYLIB_LDFLAGS='-G' LDFLAGS='-brtl' CXX=xlc++_r CXXFLAGS='-O -qstrict' Complilation error in src/main/printutils.c: "printutils.c", line 582.7: 1506-1352 (S) "va_start" may not appear in a function without a variable argument list. "prin...