Full_Name: Michael Ngan Version: R-1.6.2 OS: Red Hat Linux 8.0, Itanium2 Submission from: (NULL) (156.40.36.177)
Hi, I trying to compile R-1.6.2 on Red Hat Linux 8.0 running on the Itanium2(IA64) platform and encountered the following message: make[1]: Entering directory `/home/nganm/R-1.6.2/src/modules/lapack' gcc -shared -L/usr/local/lib -o lapack.so Lapack.lo double.lo cmplx.lo -lbla s -L/usr/local/lib -L/usr/lib/gcc-lib/ia64-redhat-linux/2.96 -L/usr/lib/gcc-lib/ ia64-redhat-linux/2.96/../../.. -lreadline -ldl -lncurses -lg2c -lm -lpcre -lbz2 -lz -lreadline -ldl -lncurses -lm /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen collect2: ld returned 1 exit status make[1]: *** [lapack.so] Error 1 make[1]: Leaving directory `/home/nganm/R-1.6.2/src/modules/lapack' make: *** [R] Error 2 I have traced the problem to be: lapack.o is not compiled with the -fPIC flag, but ld is trying to link it with code that is compiled with -fPIC. So, I need to get gcc to compile lapack.c with the -fPIC. I don't know where to change the Makefile or Makeconf. Please help. thanks, Mike [EMAIL PROTECTED] National Cancer Institute, NIH. ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-devel