Re: problem in compiling a root macro with MaxOs X

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sat, 6 Dec 2008 21:25:29 +0100


It looks like your installation is not complete. Could you check the directory $ROOTSYS/lib?
Do you have the *.so files and also the *.rootmap files?

Rene Brun

Massimiliano Chiorboli wrote:
> Dear All,
> I have a MacOs Leopard, on which I installed root 5.21.06. If I try
> to compile a root macro (which compiles on a linux pc), I get the
> message I attach at the end of the mail.
> Any hint?
> Thanks,
> Massimiliano
>
> root [0] .x makePlots.C+("1e31")
> Info in <TUnixSystem::ACLiC>: creating shared library
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots_C.so
>
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void makePlots(TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:44:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void effReduced(TString, TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:189:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:197:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:235:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:163:
> warning: unused variable 'c1'
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void effReduced(TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:285:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:303:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:259:
> warning: unused variable 'c1'
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void pdPlot(TString, TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:358:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:363:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:391:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:335:
> warning: unused variable 'c1'
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void pdPlot(TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:444:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:467:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:415:
> warning: unused variable 'c1'
> dlopen error:
> dlopen(/Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots_C.so,
> 10): Symbol not found: __ZN5TFileC1EPKcS1_S1_i
> Referenced from:
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots_C.so
>
> Expected in: dynamic lookup
>
> Load Error: Failed to load Dynamic link library
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots_C.so
>
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void makePlots(TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:44:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void effReduced(TString, TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:189:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:197:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:235:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:163:
> warning: unused variable 'c1'
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void effReduced(TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:285:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:303:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:259:
> warning: unused variable 'c1'
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void pdPlot(TString, TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:358:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:363:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:391:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:335:
> warning: unused variable 'c1'
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:
> In function 'void pdPlot(TString)':
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:444:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:467:
> warning: comparison between signed and unsigned integer expressions
> /Users/chiorbol/Documents/workspace/ReducedMenuEffEstimate/ReducedPathsEffEstimate/./makePlots.C:415:
> warning: unused variable 'c1'
> Undefined symbols:
> "TH1::GetXaxis() const", referenced from:
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> "TFile::TFile(char const*, char const*, char const*, int)", referenced
> from:
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> "TCanvas::TCanvas(char const*, char const*, int, int)", referenced from:
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> "_main", referenced from:
> start in crt1.10.5.o
> "TLegend::TLegend(double, double, double, double, char const*, char
> const*)", referenced from:
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> "TLegend::AddEntry(TObject*, char const*, char const*)", referenced from:
> pdPlot(TString) in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> pdPlot(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString) in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> effReduced(TString, TString)in makePlots_C_ACLiC_dict.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> *** Interpreter error recovered ***
>
Received on Sat Dec 06 2008 - 21:25:33 CET

This archive was generated by hypermail 2.2.0 : Mon Dec 08 2008 - 11:50:02 CET