GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » New update (9/18/2012) not working
Re: New update (9/18/2012) not working [message #13976 is a reply to message #13975] Wed, 19 September 2012 15:07 Go to previous messageGo 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
Hi,
Thank you for responding.

I did an svn update. From there,
cd build
cmake ..
make

I get a lot further when I do make. However, I get this error message:
[ 81%] Built target FairMock
Linking CXX executable ../../bin/_GTestFairTools
[ 99%] Built target Rho
Scanning dependencies of target _GTestFairToolsNew
[ 99%] Building CXX object test/fairtools/CMakeFiles/_GTestFairToolsNew.dir/_GTestFairToolsNew.cxx. o
../../lib/libFairTools.so.0.0.0: undefined reference to `G__getstructoffset'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__add_setup_func'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__check_setup_version'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__getnumbaseclass'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::GetImplFileName()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::Last(char) const'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__inheritance_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::~TGenericClassInfo()'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__get_linked_tagnum_fwd'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetDeleteArray(void (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memvar_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `gSystem'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator+(TString const&, char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tagtable_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__resetifuncposition'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetNew(void* (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::GetClass()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::TString(char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::~TString()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::ToUpper()'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator==(TString const&, char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__add_compiledheader'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(), TVirtualIsAProxy*, int, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__getsizep2memfunc'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::DefineBehavior(void*, void*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__int'
../../lib/libFairTools.so.0.0.0: undefined reference to `TMemberInspector::GetParent() const'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__memfunc_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__get_linked_tagnum'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::TString(char)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::Replace(int, int, char const*, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__memvar_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::operator=(TString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TMemberInspector::GenericShowMembers(char const*, void*, bool)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__resetglobalenv'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator+(char const*, TString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TVersionCheck::TVersionCheck(int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator<<(std::basic_ostream<char, std::char_traits<char> >&, TString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memfunc_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetDelete(void (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::AdoptCollectionProxyInfo(ROOT::TCollectionProx yInfo*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__setsizep2memfunc'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__search_typename2'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetDestructor(void (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__call_setup_funcs'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__setnull'
../../lib/libFairTools.so.0.0.0: undefined reference to `TIsAProxy::TIsAProxy(std::type_info const&, void*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::operator=(char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetImplFile(char const*, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__resetplocal'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::operator()(int, int) const'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::TString(TSubString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__remove_setup_func'
../../lib/libFairTools.so.0.0.0: undefined reference to `TMemberInspector::InspectMember(char const*, void*, char const*, bool)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__va_arg_put'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memfunc_reset'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memvar_reset'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__lastifuncposition'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::GetImplFileLine()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__setnewtype'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(void*, TMemberInspector&), void (*)(), TVirtualIsAProxy*, int, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetNewArray(void* (*)(long, void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__letint'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__defined_typename'
collect2: ld returned 1 exit status
make[2]: *** [bin/_GTestFairTools] Error 1
make[1]: *** [test/fairtools/CMakeFiles/_GTestFairTools.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx: In member function ‘virtual void VerbosityLevelTest_testAllVerbosityLevelsToScreenAndFile_Test::TestBody( ) ’:
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx:3 50:19: warning: ignoring return value of ‘char* tmpnam(char*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx: In member function ‘virtual void LogLevelTest_testAllLogLevelsToScreenAndFile_Test::TestBody()’:
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx:3 17:19: warning: ignoring return value of ‘char* tmpnam(char*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx: In member function ‘virtual void FairToolsTest_testScreenAndFileOutputWithoutArgument_Test::TestBody()’:
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx:2 86:19: warning: ignoring return value of ‘char* tmpnam(char*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx: In member function ‘virtual void FairToolsTest_CheckOutputOnlyToFile_Test::TestBody()’:
/home/raphael/Downloads/fairroot/test/fairtools/_GTestFairToolsNew.cxx:2 17:19: warning: ignoring return value of ‘char* tmpnam(char*)’, declared with attribute warn_unused_result [-Wunused-result]
Linking CXX executable ../../bin/_GTestFairToolsNew
../../lib/libFairTools.so.0.0.0: undefined reference to `G__getstructoffset'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__add_setup_func'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__check_setup_version'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__getnumbaseclass'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::GetImplFileName()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::Last(char) const'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__inheritance_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::~TGenericClassInfo()'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__get_linked_tagnum_fwd'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetDeleteArray(void (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memvar_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `gSystem'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator+(TString const&, char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tagtable_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__resetifuncposition'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetNew(void* (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::GetClass()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::TString(char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::~TString()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::ToUpper()'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator==(TString const&, char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__add_compiledheader'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(), TVirtualIsAProxy*, int, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__getsizep2memfunc'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::DefineBehavior(void*, void*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__int'
../../lib/libFairTools.so.0.0.0: undefined reference to `TMemberInspector::GetParent() const'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__memfunc_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__get_linked_tagnum'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::TString(char)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::Replace(int, int, char const*, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__memvar_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::operator=(TString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TMemberInspector::GenericShowMembers(char const*, void*, bool)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__resetglobalenv'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator+(char const*, TString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TVersionCheck::TVersionCheck(int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `operator<<(std::basic_ostream<char, std::char_traits<char> >&, TString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memfunc_setup'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetDelete(void (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::AdoptCollectionProxyInfo(ROOT::TCollectionProx yInfo*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__setsizep2memfunc'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__search_typename2'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetDestructor(void (*)(void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__call_setup_funcs'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__setnull'
../../lib/libFairTools.so.0.0.0: undefined reference to `TIsAProxy::TIsAProxy(std::type_info const&, void*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::operator=(char const*)'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetImplFile(char const*, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__resetplocal'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::operator()(int, int) const'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::TString(TSubString const&)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__remove_setup_func'
../../lib/libFairTools.so.0.0.0: undefined reference to `TMemberInspector::InspectMember(char const*, void*, char const*, bool)'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__va_arg_put'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memfunc_reset'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__tag_memvar_reset'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__lastifuncposition'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::GetImplFileLine()'
../../lib/libFairTools.so.0.0.0: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__setnewtype'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(void*, TMemberInspector&), void (*)(), TVirtualIsAProxy*, int, int)'
../../lib/libFairTools.so.0.0.0: undefined reference to `ROOT::TGenericClassInfo::SetNewArray(void* (*)(long, void*))'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__letint'
../../lib/libFairTools.so.0.0.0: undefined reference to `G__defined_typename'
collect2: ld returned 1 exit status
make[2]: *** [bin/_GTestFairToolsNew] Error 1
make[1]: *** [test/fairtools/CMakeFiles/_GTestFairToolsNew.dir/all] Error 2
make: *** [all] Error 2

What is going on?
 
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 Apr 18 03:07:34 CEST 2024

Total time taken to generate the page: 0.01165 seconds