Hi. (MacOSX 10.4.6) I downloaded R-latest.tar.gz just now from src/base- prerelease on CRAN. "make" gave the following error after an apparently successful ./configure: [snip] util.c: In function 'Rf_type2char': util.c:247: warning: return discards qualifiers from pointer target type gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/ pcre -no-cpp-precomp -I. -I../../src/include -I../../src/include -I/ usr/local/include -DHAVE_CONFIG_H -fPIC -fno-common -g -O2 - std=gnu99 -c version.c -o version.o gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/ pcre -no-cpp-precomp -I. -I../../src/include -I../../src/include -I/ usr/local/include -DHAVE_CONFIG_H -fPIC -fno-common -g -O2 - std=gnu99 -c vfonts.c -o vfonts.o g77 -fPIC -fno-common -g -O2 -c xxxpr.f -o xxxpr.o gcc -dynamiclib -L/usr/local/lib -dynamiclib -install_name libR.dylib -compatibility_version 2.3.0 -current_version 2.3.0 - headerpad_max_install_names -o libR.dylib Rembedded.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 localecharset.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 rlocale.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 `ls ../appl/*.o ../nmath/*.o ../unix/ *.o 2>/dev/null` -framework vecLib -L/usr/local/lib/gcc/powerpc- apple-darwin7.9.0/3.4.4 -lg2c -lgcc_s -lSystem ../extra/zlib/ libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a ../extra/intl/ libintl.a -Wl,-framework -Wl,CoreFoundation -lreadline -lm -liconv ld: warning multiple definitions of symbol _xerbla_ print.o definition of _xerbla_ in section (__TEXT,__text) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libBLAS.dylib(single module) definition of _xerbla_ ld: Undefined symbols: restFP saveFP /usr/bin/libtool: internal link edit command failed make[3]: *** [libR.dylib] Error 1 make[2]: *** [R] Error 2 make[1]: *** [R] Error 1 make: *** [R] Error 1 238-250:~/scratch/R-beta% -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743
Hello, 2006/4/13, Robin Hankin <r.hankin at noc.soton.ac.uk>:> Hi. > > > (MacOSX 10.4.6) I downloaded R-latest.tar.gz just now from src/base- > prerelease > on CRAN. "make" gave the following error after an apparently successful > ./configure: > > > [snip] > util.c: In function 'Rf_type2char': > util.c:247: warning: return discards qualifiers from pointer target type > gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/ > pcre -no-cpp-precomp -I. -I../../src/include -I../../src/include -I/ > usr/local/include -DHAVE_CONFIG_H -fPIC -fno-common -g -O2 - > std=gnu99 -c version.c -o version.o > gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/ > pcre -no-cpp-precomp -I. -I../../src/include -I../../src/include -I/ > usr/local/include -DHAVE_CONFIG_H -fPIC -fno-common -g -O2 - > std=gnu99 -c vfonts.c -o vfonts.o > g77 -fPIC -fno-common -g -O2 -c xxxpr.f -o xxxpr.o > gcc -dynamiclib -L/usr/local/lib -dynamiclib -install_name libR.dylib > -compatibility_version 2.3.0 -current_version 2.3.0 - > headerpad_max_install_names -o libR.dylib Rembedded.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 localecharset.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 rlocale.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 `ls ../appl/*.o ../nmath/*.o ../unix/ > *.o 2>/dev/null` -framework vecLib -L/usr/local/lib/gcc/powerpc- > apple-darwin7.9.0/3.4.4 -lg2c -lgcc_s -lSystem ../extra/zlib/ > libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a ../extra/intl/ > libintl.a -Wl,-framework -Wl,CoreFoundation -lreadline -lm -liconv > ld: warning multiple definitions of symbol _xerbla_ > print.o definition of _xerbla_ in section (__TEXT,__text) > /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ > vecLib.framework/Versions/A/libBLAS.dylib(single module) definition > of _xerbla_ > ld: Undefined symbols: > restFP > saveFP > /usr/bin/libtool: internal link edit command failed > make[3]: *** [libR.dylib] Error 1 > make[2]: *** [R] Error 2 > make[1]: *** [R] Error 1 > make: *** [R] Error 1 > 238-250:~/scratch/R-beta%A similar error message can be found here: http://www.mail-archive.com/r-sig-mac at stat.math.ethz.ch/msg00476.html Does this help to solve your problem? TS