[R] build R.1.7.1 failure on Darwin 6.6

Mark E. Perkins perkinsm at bway.net
Fri Jun 20 04:12:27 CEST 2003


When I attempt to build v.1.7.1 on a Darwin 6.6 system I get the following
failure when linking in src/main:

gcc -framework Carbon -mdynamic-no-pic -L/sw/lib -L/usr/local/lib -o R.bin
CConverters.o Rdynload.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 devPS.o
devPicTeX.o deparse.o deriv.o devices.o dotcode.o dounzip.o dstruct.o
duplicate.o engine.o envir.o errors.o eval.o format.o fourier.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 relop.o saveload.o scan.o seq.o serialize.o size.o sort.o source.o
split.o sprintf.o subassign.o subscript.o subset.o summary.o unique.o
util.o version.o vfonts.o registration.o xxxpr.o ../unix/libunix.a
../appl/libappl.a ../nmath/libnmath.a  -framework vecLib -L/sw/lib
-L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.6/3.3
-L/sw/lib/gcc-lib/powerpc-apple-darwin6.6/3.3/../../.. -lfrtbegin -lg2c
-lSystem  ../extra/zlib/libz.a   -lpcre -lbz2 -lreadline -ldl -lncurses -lm
ld: warning multiple definitions of symbol _xerbla_
print.o definition of _xerbla_ in section (__TEXT,__text)
/System/Library/Frameworks/vecLib.framework/vecLib(ProjectBuilderMasterObje
ctFile.o) definition of _xerbla_
ld: warning multiple definitions of symbol _BC
/sw/lib/libreadline.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.dylib(lib_termcap.lo) definition of _BC
ld: warning multiple definitions of symbol _UP
/sw/lib/libreadline.dylib(terminal.so) definition of _UP
/sw/lib/libncurses.dylib(lib_termcap.lo) definition of _UP
ld: warning multiple definitions of symbol _PC
/sw/lib/libreadline.dylib(terminal.so) definition of _PC
/sw/lib/libncurses.dylib(lib_tputs.lo) definition of _PC
ld: Undefined symbols:
restFP
saveFP
make[3]: *** [R.bin] Error 1
make[2]: *** [R] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1

Apparently I am missing a library or object file, but I cannot spot the
root of the problem. Has anyone else seen/solved this problem? Steps
leading up to this were:

./configure --with-blas="-framework vecLib" --with-lapack
--with-recommended-packages
make

configure completed with no complaints or warnings. A straight ./configure
yields the same error (no surprise).

This is a Darwin 6.6 system with up-to-date fink and Developer Tools.
Any clue on the missing component(s) would be appreciated.

Thanks,
Mark




More information about the R-help mailing list