GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » Error while compiling CBM JUN16 root (Error while compiling CBM JUN16 root )
Error while compiling CBM JUN16 root [message #19451] Fri, 19 August 2016 10:32 Go to next message
Sudhir is currently offline  Sudhir
Messages: 6
Registered: July 2016
occasional visitor
From: 125.21.19*
Hello,



I am installing CBM root version JUN16. I am installed FairSoft and FairRoot. Versions of these two are as per release version i.e. FairRoot version: v-15.11e, FairSoft version: nov15p6 (ROOT5). But when I am trying to install cbm root then during building it is giving me following error.

g++: error: unrecognized command line option '--no-as-needed'
g++: error: unrecognized command line option '--no-as-needed'
make[2]: *** [bin/runStsSplitter] Error 1
make[1]: make[2]: *** [bin/runStsMerger] Error 1
*** [tutorials/cbmMQTest/CMakeFiles/runStsSplitter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [tutorials/cbmMQTest/CMakeFiles/runStsMerger.dir/all] Error 2


and



g++: error: unrecognized command line option '--no-as-needed'
make[2]: *** [bin/runCbmMQFileSink] Error 1
make[1]: *** [tutorials/cbmMQTest/CMakeFiles/runCbmMQFileSink.dir/all] Error 2



So please Can anyone help me?

Re: Error while compiling CBM JUN16 root [message #19453 is a reply to message #19451] Fri, 19 August 2016 13:21 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *084.059.pools.vodafone-ip.de
which version of gcc do you use?
Re: Error while compiling CBM JUN16 root [message #19454 is a reply to message #19451] Fri, 19 August 2016 14:03 Go to previous messageGo to next message
Sudhir is currently offline  Sudhir
Messages: 6
Registered: July 2016
occasional visitor
From: 125.21.19*
Its is gcc 4.8.4
Re: Error while compiling CBM JUN16 root [message #19460 is a reply to message #19453] Sun, 21 August 2016 16:43 Go to previous message
Sudhir is currently offline  Sudhir
Messages: 6
Registered: July 2016
occasional visitor
From: 122.175.177*
Hello Florian,

I am using gcc 4.8.4...

Can you tell me what is the problem?


Previous Topic: Secondary tracks in the PSD
Next Topic: Error while opening Primary Vertex branch of Tree in CBM root
Goto Forum:
  


Current Time: Thu Apr 25 03:08:34 CEST 2024

Total time taken to generate the page: 0.00869 seconds