Hi, This kind of warning can be safely ignored. "It essentially has to do with whether missing symbols at runtime is considered a fatal error on startup or not, for applications that use weak references" [1]. Root does not use weak references. The environment MACOSX_DEPLOYMENT_TARGET is available since Mac OS 10.2.0, but only since the Dec 2002 Developer tools the linker warns about it. Cheers, Remi [1] http://fink.sourceforge.net/faq/comp-general.php#weak_lib On Friday, February 14, 2003, at 01:46 AM, Roland Bramm wrote: > 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 > > --------------------------------------------------------------------- Truth decays into beauty, while beauty soon becomes merely charm. Charm ends up as strangeness, and even that doesn't last, but up and down are forever. (Anonymous) ********************************************************************* 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