Hi! I'm trying to compile R (32-bit) on Solaris 10 x86 using Sun Studio 10 + Sun Perflib (for BLAS and LAPACK) but encountered issues with undefined symbol "bratio". Appreciate any help.
Compiler options (from configure output): ============================================== R is now configured for i386-pc-solaris2.10 Source directory: . Installation directory: /usr/local C compiler: cc -g -O -xtarget=opteron -D__NO_MATH_INLINES -g -O -xtarget=opteron C++ compiler: CC -gO -xtarget=opteron -gO -xtarget=opteron Fortran compiler: f77 -g -O -xtarget=opteron -gO -xtarget=opteron Interfaces supported: X11 External libraries: readline, BLAS(SunPerf) Additional capabilities: PNG, JPEG, MBCS, NLS Options enabled: R profiling Recommended packages: yes configure: WARNING: you cannot build DVI versions of the R manuals configure: WARNING: you cannot build PDF versions of the R manuals ============================================== Compile error: ============================================== ... cc -g -O -xtarget=opteron -L/opt/SUNWspro/lib -L/usr/lib -L/usr/sfw/lib -L/opt/sfw/lib -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o graphics.o identical.o internet.o iosupport.o lapack.o list.o logic.o main.o mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o random.o regex.o registration.o relop.o saveload.o scan.o seq.o serialize.o size.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a -xlic_lib=sunperf -lsunmath -Rreg -R/opt/SUNWspro/lib/sse2:/opt/SUNWspro/lib -L/opt/SUNWspro/lib/sse2 -L/opt/SUNWspro/prod/lib/sse2 -L/opt/SUNWspro/prod/lib -L/usr/ccs/lib -lfui -lfai -lfsu -lsunmath -lmtsk -lm ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a ../extra/intl/libintl.a -lreadline -lncurses -lnsl -lsocket -ldl -lm Undefined first referenced symbol in file bratio ../nmath/libnmath.a(pbeta.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 /tmp/apps/R-2.2.0-32/src/main *** Error code 1 The following command caused the error: make install-bin-local make: Fatal error: Command failed for target `R' Current working directory /tmp/apps/R-2.2.0-32/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} && make R) || exit 1; \ done make: Fatal error: Command failed for target `R' Current working directory /tmp/apps/R-2.2.0-32/src *** Error code 1 The following command caused the error: for d in m4 tools doc etc share src tests po; do \ (cd ${d} && make R) || exit 1; \ done make: Fatal error: Command failed for target `R' ============================================== Thanks. Regards, Daniel __________________________________ Meet your soulmate! ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel