GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Compilation problem of trunk
Compilation problem of trunk [message #11149] Tue, 02 November 2010 10:11 Go to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi PandaRooters,

I run in the following problem when I try to compile the latest trunk version:

During CMAKE I get the following message:

CMake Error: Error Target: EvtGen Contains more than one Prefered language: Fortran and CXX
You must set the LINKER_LANGUAGE property for this target.

When I ignore this warning and compile, I get:

[ 18%] Built target DpmEvtGen
[ 18%] Built target DpmEvtGen_exe
Scanning dependencies of target Photos
make[2]: Warning: File `pgenerators/EvtGen/photos/CMakeFiles/Photos.dir/depend.make' has modification time 0.41 s in the future
make[2]: *** No rule to make target `of.mod.proxy', needed by `pgenerators/EvtGen/photos/CMakeFiles/Photos.dir/phomak.o.requires'. Stop.
make[1]: *** [pgenerators/EvtGen/photos/CMakeFiles/Photos.dir/all] Error 2
make: *** [all] Error 2

Has anyone an idea where this problem is coming from?

Cheers,

Tobias
Re: Compilation problem of trunk [message #11151 is a reply to message #11149] Tue, 02 November 2010 10:56 Go to previous messageGo to next message
Sverre Dørheim is currently offline  Sverre Dørheim
Messages: 23
Registered: October 2008
Location: Munich
occasional visitor
From: *gsi.de
Hello Tobias

Which cmake-version are you using. I had the same problem when using and older cmake version(2.4.6) and not the one supplied in the external packages.

Cheers

Sverre
Re: Compilation problem of trunk [message #11152 is a reply to message #11151] Tue, 02 November 2010 11:25 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi Sverre,

thank you for your reply. This old cmake version was the reason for the problems. I still have to figure out, why it was taken.

Cheers,

Tobias
Re: Compilation problem of trunk [message #11153 is a reply to message #11152] Tue, 02 November 2010 11:38 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *4-87-r.retail.telecomitalia.it
Problem solved in 1h 14m Smile
Re: Compilation problem of trunk [message #11333 is a reply to message #11151] Fri, 17 December 2010 10:47 Go to previous messageGo to next message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
Hi all,

The build is failing again; this time "pandaroot/drc/DrawHits.cxx" gets the blame, Smile Wink.

The problem comes from a number of undeclared variables Rolling Eyes

Regards,
Re: Compilation problem of trunk [message #11340 is a reply to message #11333] Fri, 17 December 2010 12:16 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Maria has just fixed it. Simply the updated header file was not committed.
Previous Topic: error messages from initialization
Next Topic: Out of memory problem in EmcPoint - FairLink ?
Goto Forum:
  


Current Time: Fri Dec 06 14:17:19 CET 2024

Total time taken to generate the page: 0.00636 seconds