GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error in compiling TRUNK
Error in compiling TRUNK [message #10867] Wed, 14 July 2010 17:12 Go to next message
Dipanwita Dutta is currently offline  Dipanwita Dutta
Messages: 25
Registered: May 2009
continuous participant
From: *gsi.de
Hi

I just svn co Pandaroot and got the following error
while compiling.

regards
Dipanwita
-------------------------------------------------------

Building CXX object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen_exe.dir/main.o
/home/dipa/pandaroot/pgenerators/DpmEvtGen/main.cc:27: warning: non-local variable ‘<anonymous struct> lujets_’ uses anonymous type
Linking CXX executable ../../bin/DPMGen
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::TH3S(char const*, char const*, int, double, double, int, double, double, int, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::GetCovariance(int, int) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::operator=(TH3C const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator+(TH3F&, TH3F&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator+(TH3C&, TH3C&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::FindLastBinAbove(double, int) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::GetRandom3(double&, double&, double&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::operator=(TH3I const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::ProjectionZ(char const*, int, int, int, int, char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::TH3S()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::operator=(TH3S const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(TH3C&, TH3C&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::Streamer(TBuffer&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::~TH3I()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator-(TH3F&, TH3F&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D(char const*, char const*, int, double, double, int, double, double, int, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Integral(int, int, int, int, int, int, char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator+(TH3D&, TH3D&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator/(TH3I&, TH3I&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D(char const*, char const*, int, double const*, int, double const*, int, double const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Interpolate(double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::IntegralAndError(int, int, int, int, int, int, double&, char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Streamer(TBuffer&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::TH3F(char const*, char const*, int, float const*, int, float const*, int, float const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(float, TH3D&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator-(TH3S&, TH3S&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::FillRandom(char const*, int)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Interpolate(double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator+(TH3S&, TH3S&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::FillRandom(TH1*, int)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::ProjectionY(char const*, int, int, int, int, char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D(TH3D const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(float, TH3I&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `typeinfo for TH3'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `typeinfo for TH3S'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `typeinfo for TH3C'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::TH3I()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Integral(char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D(char const*, char const*, int, double, double, int, double, double, int, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::Streamer(TBuffer&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::TH3(TH3 const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::SetShowProjection(char const*, int)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::Copy(TObject&) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::TH3F(char const*, char const*, int, double, double, int, double, double, int, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::TH3F(char const*, char const*, int, double const*, int, double const*, int, double const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::TH3I(TH3I const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(TH3D&, TH3D&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::FindFirstBinAbove(double, int) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::FitSlicesZ(TF1*, int, int, int, int, int, char const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::GetCorrelationFactor(int, int) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator/(TH3D&, TH3D&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Interpolate(double, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator+(TH3I&, TH3I&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `typeinfo for TH3D'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::operator=(TH3F const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator/(TH3F&, TH3F&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator/(TH3C&, TH3C&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::TH3S(char const*, char const*, int, float const*, int, float const*, int, float const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::TH3C()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(float, TH3F&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::TH3F(TH3F const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::GetBinWithContent3(double, int&, int&, int&, int, int, int, int, int, int, double) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `typeinfo for TH3F'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::operator=(TH3D const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::TH3C(char const*, char const*, int, double, double, int, double, double, int, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::TH3C(char const*, char const*, int, double const*, int, double const*, int, double const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(TH3S&, TH3S&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator-(TH3D&, TH3D&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(float, TH3C&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(float, TH3S&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::TH3S(TH3S const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `typeinfo for TH3I'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::~TH3C()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::TH3I(char const*, char const*, int, double const*, int, double const*, int, double const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::TH3S(char const*, char const*, int, double const*, int, double const*, int, double const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator-(TH3I&, TH3I&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::KolmogorovTest(TH1 const*, char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator/(TH3S&, TH3S&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(TH3I&, TH3I&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::~TH3D()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::PutStats(double*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::Streamer(TBuffer&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Project3D(char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::TH3F()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D(char const*, char const*, int, float const*, int, float const*, int, float const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::TH3C(TH3C const&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::Streamer(TBuffer&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator-(TH3C&, TH3C&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::SetBinsLength(int)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::SetBinContent(int, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D(char const*, char const*, int, double const*, int, double const*, int, double const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::TH3I(char const*, char const*, int, float const*, int, float const*, int, float const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `operator*(TH3F&, TH3F&)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::Project3DProfile(char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3::ProjectionX(char const*, int, int, int, int, char const*) const'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3I::TH3I(char const*, char const*, int, double, double, int, double, double, int, double, double)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::Reset(char const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::~TH3D()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3S::~TH3S()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3D::TH3D()'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3C::TH3C(char const*, char const*, int, float const*, int, float const*, int, float const*)'
/home/dipa/fairsoft/tools/root/lib/libHist.so: undefined reference to `TH3F::~TH3F()'
collect2: ld returned 1 exit status
make[2]: *** [bin/DPMGen] Error 1
make[1]: *** [pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen_exe.dir/all] Error 2
make: *** [all] Error 2
Re: Error in compiling TRUNK [message #10871 is a reply to message #10867] Thu, 15 July 2010 15:40 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hello,

My thoughts on that:

trying to compile DpmEvtGen it has problems with fairsoft/tools/root/lib/libHist.so.
Try to deactivate pgenerators/DpmEvtGen in pandaroot/CMakeLists.txt.

What kind of operating system do you use? A MacOSX ? I've to comment the DpmEvtGen on my mac, too.

Kind regards, Ralf.
Re: Error in compiling TRUNK [message #10872 is a reply to message #10871] Fri, 16 July 2010 10:09 Go to previous messageGo to next message
Bjoern Spruck is currently offline  Bjoern Spruck
Messages: 56
Registered: June 2005
Location: Gießen
continuous participant
From: *physik.uni-giessen.de
Ralf Kliemt wrote on Thu, 15 July 2010 15:40

Hello,

My thoughts on that:

trying to compile DpmEvtGen it has problems with fairsoft/tools/root/lib/libHist.so.



For me it looks like you should check your root installation. If I loo in the code there is no root histogram used in the code.
You even can comment out the #include TH1F in the main.cc.

Ralf Kliemt wrote on Thu, 15 July 2010 15:40


Try to deactivate pgenerators/DpmEvtGen in pandaroot/CMakeLists.txt.

What kind of operating system do you use? A MacOSX ? I've to comment the DpmEvtGen on my mac, too.



I guess that because of the fortran code, isnt it?
Same problem in EvtGen...
Re: Error in compiling TRUNK [message #10873 is a reply to message #10871] Fri, 16 July 2010 10:12 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Ralf

I wonder about your comment. On my Mac i can compile DpmEvtGen
without any problems and i don't see the problem with libHist.so.
Which version of the external packages do you use?

I also fixed a problem with the EvtGen which did not compile on
Mac OSX due to some problem with using the wrong fortran libraries. This is fixed with revision 9422.

Ciao

Florian
Re: Error in compiling TRUNK [message #10874 is a reply to message #10873] Fri, 16 July 2010 11:21 Go to previous messageGo to next message
Dipanwita Dutta is currently offline  Dipanwita Dutta
Messages: 25
Registered: May 2009
continuous participant
From: *gsi.de
Hi

Thanks for all of your suggestions.
I think the problem was somewhere
in root installation. I reinstalled the
root and now it compiles
(without commenting DpmEvtGen).

For info: I am using SL5.5 version of linux.

best regards
Dipanwita
Re: Error in compiling TRUNK [message #10877 is a reply to message #10867] Mon, 19 July 2010 15:00 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Fine that it works now.

Florian, my and Simones mac don't compile Dpm. Maybe you know the trick? What about updating my compiler from gcc4.2?

Cheers, Ralf.
Previous Topic: Update of Charmonium Tutorial
Next Topic: new GENFIT release
Goto Forum:
  


Current Time: Wed Nov 27 17:59:17 CET 2024

Total time taken to generate the page: 0.00691 seconds