[R] Problem compiling on HP-UX 10.20

Nuzzo Art-CINT116 A.Nuzzo at motorola.com
Thu Apr 18 16:16:58 CEST 2002


I am having a problem compiling R on an HP-UX 10.20 system using gcc/g77
compiler. It appears to compile without problems until it gets to the lapack
module and I get the following error:

gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -D_HPUX_SOURCE -fPIC  -O2 -c Lapack.c -o Lapack.lo
g77  -fPIC  -O2 -c double.f -o double.lo
g77  -fPIC  -O2 -c cmplx.f -o cmplx.lo
g77  -fPIC  -O2 -c blas2.f -o blas2.lo
g77  -fPIC  -O2 -c cmplxblas.f -o cmplxblas.lo
gcc -shared -fPIC  -o lapack.sl  Lapack.lo double.lo  cmplx.lo blas2.lo
cmplxblas.lo   -lg2c -lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -u main
-L/opt/gnu/lib/gcc-lib/hppa2.0-hp-hpux10.20/3.0.4 -L/usr/ccs/bin
-L/usr/ccs/lib -L/opt/langtools/lib
-L/opt/gnu/lib/gcc-lib/hppa2.0-hp-hpux10.20/3.0.4/../../.. -lm
-L/usr/local/lib  -lz -ltermcap -lm
/usr/ccs/bin/ld: DP relative code in file
/opt/gnu/lib/gcc-lib/hppa2.0-hp-hpux10.20/3.0.4/libg2c.a(fmt.o) - shared
library must be position
    independent.  Use +z or +Z to recompile.
collect2: ld returned 1 exit status
make[4]: *** [lapack.sl] Error 1
make[4]: Leaving directory `/tmp_mnt/users/artn/R-1.4.1/src/modules/lapack'


Any help is appreciated, thanks,


Art Nuzzo


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list