GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » New update (9/18/2012) not working
New update (9/18/2012) not working [message #13972] Tue, 18 September 2012 22:55 Go to previous message
Raphael Cervantes is currently offline  Raphael Cervantes
Messages: 34
Registered: September 2012
Location: Stony Brook University
continuous participant
From: *physics.sunysb.edu
Hey guys,
I tried the following commands on my ubuntu machine.

cd fairroot
svn update
cd build
cmake ..
make

When I try those commands, I get this error

raphael@raphael-Vostro-1520:~/Downloads/fairroot/build$ make -j2
[ 0%] Building CXX object fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o
[ 9%] Built target Base
[ 19%] Built target FairDB
[ 26%] Built target GeoBase
[ 30%] Built target ParBase
[ 33%] Built target Gen
[ 34%] Built target TrkBase
[ 37%] Built target EventDisplay
Scanning dependencies of target Tutorial1
/home/raphael/Downloads/fairroot/fairtools/FairLogger.cxx: In member function ‘void FairLogger::LogFatalMessage(std::ostream&)’:
/home/raphael/Downloads/fairroot/fairtools/FairLogger.cxx:482:11: error: ‘abort’ was not declared in this scope
/home/raphael/Downloads/fairroot/fairtools/FairLogger.cxx:477:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
[ 38%] make[2]: *** [fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o] Error 1
make[1]: *** [fairtools/CMakeFiles/FairTools.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDet.cxx.o
[ 38%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDetContFact.c xx.o
[ 38%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDetGeoPar.cxx .o
[ 38%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/G__Tutorial1Dict.cxx.o
Linking CXX shared library ../../../lib/libTutorial1.so
[ 39%] Built target Tutorial1
make: *** [all] Error 2

How can I fix my errors.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to run rutherford example with new update (9/19/12)
Next Topic: fairbase does not compiile properly as is (10-5-12) [SOLVED]
Goto Forum:
  


Current Time: Thu Nov 28 12:49:35 CET 2024

Total time taken to generate the page: 0.00795 seconds