Re: Exception in: flat namespace

From: Xiaochun He <xhe_at_gsu.edu>
Date: Thu, 29 Apr 2010 12:40:05 -0400


Hi, Fons,

Thanks for the quick help. It works well after I replaced the list of libs (my biased picks!) with `root-config --libs`.

best,
Xiaochun

--


On Apr 29, 2010, at 12:26 PM, Fons Rademakers wrote:


> 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
>
Xiaochun He Professor Department of Physics & Astronomy Georgia State University Atlanta, GA 30303 Tel: 404-413-6051 Email: xhe_at_gsu.edu
Received on Thu Apr 29 2010 - 18:40:14 CEST

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