[ROOT] link problem of 3.05.02 on MacOSX

From: Eddy Offermann (eddy@rentec.com)
Date: Fri Feb 14 2003 - 06:45:52 MET


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