[R] Problem with a 64bit R on HP-UX]
Ida Scheel
ida.scheel at nr.no
Mon May 26 15:13:30 CEST 2003
Greetings,
We are trying to compile a 64bit version of R (1.7.0) on HP-UX (11.11),
but are running into some problems.
The following relevant filesets are installed:
B3901BA B.11.11.04 HP C/ANSI C Developer's
Bundle for HP-UX 11.i (S800)
B3909DB B.11.11.60 HP Fortran 90 Compiler
and associated products (S800)
B3913DB C.03.33.01 HP aC++ Compiler (S800)
This is our configure step:
./configure --prefix=/site/R-1.7.0 CC="cc" CFLAGS="+O2 +DD64" \
CXX="aCC" CXXFLAGS="+O2 +DD64" \
FC="f90" F77="f90" FFLAGS="+O2 +DD64" \
LD="f90" LDFLAGS="+DD64" \
--without-jpeglib --without-libpng
This steps seems to end ok:
R is now configured for hppa2.0w-hp-hpux11.11
Source directory: .
Installation directory: /site/R-1.7.0
C compiler: cc +O2 +DD64
C++ compiler: aCC +O2 +DD64
Fortran compiler: f90 +O2 +DD64
Interfaces supported: X11
External libraries:
Additional capabilities: bzip2, PCRE
Options enabled:
Recommended packages: yes
configure: WARNING: I could not determine SHLIB_CXXLDFLAGS
configure: WARNING: you cannot build DVI versions of the R manuals
configure: WARNING: you cannot build info versions of the R manuals
configure: WARNING: you cannot build PDF versions of the R manuals
When trying to compile, I get this:
cc -Wp,-H16000 -I. -I../../../src/include -I../../../src/include
-I/local/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H +Z +O2
+DD64 -c rbitmap.c -o rbitmap.lo
ld -b -Bsymbolic +DD64 -o R_X11.sl dataentry.lo devX11.lo
rotated.lo rbitmap.lo -lSM -lICE -L/local/X11R6/lib -lX11 -lnsl -ldl -lm
ld: Unrecognized argument: +DD64
Fatal error.
*** Error exit code 1
Using the f90 linker makes it link ok, but the generated R executable
does not run. How should we set the linker for the generation of 64bit
shared libraries (if that is the problem)?
Best Regards
Andreas
More information about the R-help
mailing list