Hello R Help,
I am attempting to install/build a 64-bit version of R to hopefully resolve some
memory.limit problems for a user who is running a simulation. The
'configure' runs fine and the compilation (make) runs fine until the
very last part (see below). I have libiconv in /usr/local/lib (no sure why I am
getting the referencing error). The config.site file is attached. ANY HELP YOU
CAN GIVE WOULD BE GREATLY APPRECIATED! :)
./configure --without-readline DYLIB_LDFLAGS=-xarch=v9 MAIN_LDFLAGS=-xarch=v9
Then I run /usr/ccs/bin/make
cc -xc99=all -xarch=v9 -xopenmp -L/usr/local/bin -o R.bin Rmain.o libR.a
-L../../lib -lRblas -R/usr/local/opt/SUNWspro/lib/v9:/opt/SUNWspro/lib/v9
-L/usr/local/opt/SUNWspro/lib/v9 -L/usr/local/opt/SUNWspro/prod/lib/v9
-L/usr/ccs/lib/sparcv9 -L/lib/sparcv9 -L/usr/lib/sparcv9 -lfui -lfai -lfai2
-lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfsu -lsunmath
-lmtsk -lm -lnsl -lsocket -ldl -lm -licuuc -licui18n
cc: Warning: Specify a supported level of optimization when using -xopenmp,
-xopenmp will not set an optimization level in a future release. Optimization
level changed to 3 to support -xopenmp
Undefined first referenced
symbol in file
libiconv_close libR.a(sysutils.o)
libiconv_open libR.a(sysutils.o)
libiconv libR.a(sysutils.o)
ld: fatal: Symbol referencing errors. No output written to R.bin
*** Error code 1
make: Fatal error: Command failed for target `R.bin'
Current working directory /usr/local/pkg/R-2.13.1/src/main
*** Error code 1
The following command caused the error:
/usr/ccs/bin/make install-bin-local
make: Fatal error: Command failed for target `R'
Current working directory /usr/local/pkg/R-2.13.1/src/main
*** Error code 1
The following command caused the error:
for d in scripts include extra appl nmath unix main modules library; do \
(cd ${d} && /usr/ccs/bin/make R) || exit 1; \
done
make: Fatal error: Command failed for target `R'
Current working directory /usr/local/pkg/R-2.13.1/src
*** Error code 1
The following command caused the error:
for d in m4 tools doc etc share src tests po; do \
(cd ${d} && /usr/ccs/bin/make R) || exit 1; \
done
make: Fatal error: Command failed for target `R'
Thanks,
Nynese
Nynese Tinsley, BSEE, MSCIS
UNIX Systems Analyst
Harvard School of Public Health
Center for Biostatistics in AIDS Research
651 Huntington Ave, FXB 614
Boston, MA 02115
617-432-3244 office#
617-432-2843 fax#