Re: [ROOT] Error compiling ROOT for MacOSX - 2.problem

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Mon Feb 24 2003 - 10:01:40 MET


Hi,

On Sun, 23 Feb 2003, Remi Mommsen wrote:
> > ld: warning dynamic shared library: lib/libCint.dylib not made a weak 
> > library in output with MACOSX_DEPLOYMENT_TARGET environment variable 
> > set to: 10.1
> > ld: warning dynamic shared library: /sw/lib/libdl.dylib not made a 
> > weak library in output with MACOSX_DEPLOYMENT_TARGET environment 
> > variable set to: 10.1
> 
> 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.

Not only this, but you can remove these warning messages by setting the
environment variable MACOSX_DEPLOYMENT_TARGET to 10.2 in your .cshrc or
.bashrc or whatever. This is the only way I found so far to get rid of the
messages.

Cheers

Damir



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