Re: [ROOT] link problem of 3.05.02 on MacOSX

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Fri Feb 14 2003 - 10:31:12 MET


Hi Eddy,

We were a few noticing this problem. It works apparently on Fons's 
machine, which has a more recent Dev Tools than ours. You may probably 
download it from Apple's developper web site and test it. This means we 
all (people using MacOSX) have to register as Apple developpers ! 
Fortunately this is free.
Perhaps there is a workaround for these bugs but I don't know yet any.

Cheers

Damir

Le vendredi, 14 fév 2003, à 06:45 Europe/Zurich, Eddy Offermann a écrit 
:

> 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
>
>
====================================
Damir Buskulic,  Universite de Savoie/LAPP
Chemin de Bellevue, B.P. 110, F-74941 Annecy-le-Vieux Cedex, FRANCE
Tel : +33 (0)450091600
e-mail: buskulic@lapp.in2p3.fr
====================================



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