Hi,
I'm trying to build 2.13.2 on OSX 10.6.8 as follows:

./configure CXX=g++ CC=gcc CFLAGS=-fno-common -fexceptions -O2
CXXFLAGS=-fno-common -fexceptions -O2 --without-readline --enable-R-shlib
--without-recommended-packages --prefix=/sw/R

make

and I get the following error:

gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names  -undefined
dynamic_lookup -single_module -multiply_defined suppress -fopenmp
-L/usr/local/lib -install_name libR.dylib -compatibility_version 2.13.0
-current_version 2.13.2  -headerpad_max_install_names -o libR.dylib
CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o agrep.o apply.o
arithmetic.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 devices.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 gramLatex.o gramRd.o graphics.o grep.o identical.o
inlined.o inspect.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 platform.o plot.o plot3d.o plotmath.o
print.o printarray.o printvector.o printutils.o qsort.o random.o raw.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
../unix/Rembedded.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a
../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a
../extra/tre/libtre.a  ../extra/xz/liblzma.a ../extra/intl/libintl.a
-L../../lib -lRblas -lgfortran    -Wl,-framework -Wl,CoreFoundation
-licucore -lm -liconv
ld: duplicate symbol _Rf_yychar in gramLatex.o and gram.o


using gcc version 4.2.1
gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)


Anyone seen this? Solution?

Thanks,
Dave

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to