Re: Exception in: flat namespace

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Thu, 29 Apr 2010 18:26:43 +0200


Hi,

  how do you compile and link you app? Try to link with:

g++ -o app app.o `root-config --libs`

Cheers, Fons.

On 29/04/10 18:15, Xiaochun He wrote:
> Hi,
>
> I have a small root application (compiled) which runs fine on linux systems but not on my new Mac Pro. The gcc compiler on Mac is: i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659).
>
> The code is compiled OK but breaks down when I execute it. The errors are the following:
>
> dyld: Symbol not found: __ZN14TVirtualFitter8SetCacheEii
> Referenced from: /software/root/lib/libHist.so
> Expected in: flat namespace
> in /software/root/lib/libHist.so
> Trace/BPT trap
>
> Any hints on the errors?
>
> Thanks,
> Xiaochun
> --

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Thu Apr 29 2010 - 18:26:49 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 29 2010 - 23:50:01 CEST