Re: [ROOT] link problem of 3.05.02 on MacOSX

From: Remi Mommsen (Remigius.Mommsen@cern.ch)
Date: Fri Feb 14 2003 - 19:45:46 MET


Hi,

On Thursday, February 13, 2003, at 09:45  PM, Eddy Offermann wrote:

> Dear Root-ers,
>
> When trying to compile/link the latest version of roor (3.05.02)
> on MacOSX, I got the following 2 errors:
>
> 1)
> g++ -O -dynamiclib -flat_namespace -undefined suppress -install_name 
> libHtml.dylib -o lib/libHtml.dylib html/src/THtml.o html/src/G__Html.o 
> -L/sw/lib -ldl
> ld: common symbols not allowed with MH_DYLIB output format
> html/src/THtml.o definition of common 
> _ZZNK5THtml11TParseStack7IsUsingEPKcE3cID (size 1024)
> /usr/bin/libtool: internal link edit command failed
>
> 2)
> g++ -O -dynamiclib -flat_namespace -undefined suppress -install_name 
> libRGL.dylib -o lib/libRGL.dylib gl/src/TGLKernel.o 
> gl/src/TRootGLKernel.o gl/src/TRootGLViewer.o -L/sw/lib -ldl 
> -L/usr/X11R6/lib -lGLU -lGL -lXmu -lXext -lX11
> ld: warning multiple definitions of symbol _XAddExtension
> /usr/X11R6/lib/libX11.6.2.dylib(InitExt.o) definition of _XAddExtension
> /usr/X11R6/lib/libX11.dylib(InitExt.o) definition of _XAddExtension
> .

This is a bug in libtool of pre-Dec 2002 developer tools. You should 
install the Dec 2002 developer tools which you can get from Apple 
developer site once you registered as developer (free): 
http://developer.apple.com/tools/macosxtools.html

Cheers,
		Remi

---------------------------------------------------------------------
"Sometimes I think the surest sign that intelligent life exists else-
where in the universe is that none of it has tried to contact us."
                                               Calvin (Bill Watterson)

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35             mobile:        ++1 (650) 387-1402
Menlo Park, CA 94025, US               fax:        ++1 (650) 926-8522
*********************************************************************



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET