[R-SIG-Mac] persistent problem with devQuartz.o bldg devel from source

Vincent Carey 525-2265 stvjc at channing.harvard.edu
Wed Feb 20 20:58:48 CET 2008


this is a totally fresh checkout -- simply did rsync-recommended in tools,
./configure --enable-R-shlib --with-tcltk
make

it fails at:

gcc -std=gnu99 -dynamiclib -flat_namespace -undefined suppress -single_module -m
ultiply_defined suppress -L/usr/local/lib -o grDevices.so chull.o devNull.o devP
icTeX.o devPS.o devQuartz.o init.o  qdBitmap.o qdPDF.o qdCocoa.o -framework AppK
it  -L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/libRblas.dy
lib
ld: multiple definitions of symbol _getQuartzAPI
devQuartz.o definition of _getQuartzAPI in section (__TEXT,__text)
../../../../lib/libR.dylib(single module) definition of _getQuartzAPI
/usr/bin/libtool: internal link edit command failed
make[5]: *** [grDevices.so] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all] Error 1
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1
W0034619:~/Work/ExternalSoft/fresh stvjc$ svn up
At revision 44551.

i wonder if my xcode tools are out of date but i do not know how
to determine the version.

---
Vince Carey, PhD
Assoc. Prof Med (Biostatistics)
Harvard Medical School
Channing Laboratory - ph 6175252265 fa 6177311541
181 Longwood Ave Boston MA 02115 USA
stvjc at channing.harvard.edu

On Wed, 20 Feb 2008, Simon Urbanek wrote:

> Vince,
>
> can you send me the full output, please? The actual command is
> unfortunately missing from your post. It builds fine for me as you can
> see on
> http://r.research.att.com/
> Please make sure you are doing a fresh checkout+build.
>
> Thanks,
> Simon
>
> On Feb 20, 2008, at 11:52 AM, Vincent Carey 525-2265 wrote:
>
> > For the past few days, attempts to build R 2.7.0 from source
> > on macosx 10.4.11 have run into:
> >
> > ld: multiple definitions of symbol _getQuartzAPI
> > devQuartz.o definition of _getQuartzAPI in section (__TEXT,__text)
> > ../../../../lib/libR.dylib(single module) definition of _getQuartzAPI
> > /usr/bin/libtool: internal link edit command failed
> > make[5]: *** [grDevices.so] Error 1
> > make[4]: *** [all] Error 2
> > make[3]: *** [all] Error 1
> > make[2]: *** [R] Error 1
> > make[1]: *** [R] Error 1
> > make: *** [R] Error 1
> > W0034619:~/Work/ExternalSoft/R-devel stvjc$ gcc -v
> > Using built-in specs.
> > Target: i686-apple-darwin8
> > Configured with: ../gcc-4.0.3/configure --prefix=/usr/local/gcc4.0 --
> > disable-che
> > cking --enable-languages=c,objc,c++,f95 --program-transform-name=/
> > ^[cg][^.-]*$/s
> > /$/-4.0/ --build=i686-apple-darwin8 --with-arch=pentium-m --with-
> > tune=prescott -
> > -program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
> > Thread model: posix
> > gcc version 4.0.3
> > W0034619:~/Work/ExternalSoft/R-devel stvjc$ gfortran -v
> > Using built-in specs.
> > Target: i686-apple-darwin8
> >
> > Any suggestions on how to get around this?  Thanks
> >
> > ---
> > Vince Carey, PhD
> > Assoc. Prof Med (Biostatistics)
> > Harvard Medical School
> > Channing Laboratory - ph 6175252265 fa 6177311541
> > 181 Longwood Ave Boston MA 02115 USA
> > stvjc at channing.harvard.edu
> >
> > The information transmitted in this electronic communica...{{dropped:
> > 10}}
> >
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac at stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
> >
>
>

The information transmitted in this electronic communica...{{dropped:10}}



More information about the R-SIG-Mac mailing list