Re: [ROOT] link problem of 3.05.02 on MacOSX

From: Roland Bramm (roland.bramm@cern.ch)
Date: Fri Feb 14 2003 - 10:46:37 MET


Hi,
i just downloaded and compiled root v3.5.02 and I cant confirm your warnings.
root ist working, and i get only many
not made a weak library in output with MACOSX_DEPLOYMENT_TARGET 
environment variable set to: 10.1
warnings ...

i use the Apple X11 including the sdk from apple
the fink system
MacosX 10.2.4
and the latest developer tools

Regards

At 0:45 Uhr -0500 14.02.2003, 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
>.
>.
>.
>and may more of these warnings
>
>looking at /usr/X11R6/lib, I see:
>
>fireant:/usr/X11R6/lib> ls -ltr libX11*
>-rw-r--r--  1 root  admin  1605400 Jan 11 13:34 libX11.a
>-rw-r--r--  1 root  admin   988312 Jan 11 13:34 libX11.6.2.dylib
>lrwxr-xr-x  1 root  wheel       16 Feb  7 02:52 libX11.dylib -> 
>libX11.6.2.dylib
>lrwxr-xr-x  1 root  wheel       16 Feb  7 02:52 libX11.6.dylib -> 
>libX11.6.2.dylib
>
>Any ideas,
>
>Eddy



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