Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build against NEUT built against ROOT 5 #51

Open
sjdolan opened this issue Jul 3, 2023 · 0 comments
Open

Can't build against NEUT built against ROOT 5 #51

sjdolan opened this issue Jul 3, 2023 · 0 comments

Comments

@sjdolan
Copy link
Contributor

sjdolan commented Jul 3, 2023

No troubles if using ROOT 6, but if using ROOT 5 I get these errors at the end of make:

/afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a5f5c): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a5f6b): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a6498): undefined reference to `TLorentzVector::TLorentzVector(TVector3 const&, double)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a6e91): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a6ea0): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a7235): undefined reference to `TVector3::TVector3()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a74d2): undefined reference to `TLorentzVector::TLorentzVector(TVector3 const&, double)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TVector3::operator[](int)': (.text._ZN8TVector3ixEi[_ZN8TVector3ixEi]+0x1c): undefined reference to `TVector3::operator()(int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TLorentzVector::Vect() const': (.text._ZNK14TLorentzVector4VectEv[_ZNK14TLorentzVector4VectEv]+0x23): undefined reference to `TVector3::TVector3(TVector3 const&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TLorentzVector::operator[](int)': (.text._ZN14TLorentzVectorixEi[_ZN14TLorentzVectorixEi]+0x1c): undefined reference to `TLorentzVector::operator()(int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o):(.data.rel.ro._ZTV15TApplicationImp[_ZTV15TApplicationImp]+0x78): undefined reference to `TApplicationImp::ShowMembers(TMemberInspector&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `TObject::operator=(TObject const&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `gCINTMutex' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(), TVirtualIsAProxy*, int, int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `vtable for TLockGuard' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::RegisterModule()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `TObject::ShowMembers(TMemberInspector&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::DefineBehavior(void*, void*)' collect2: error: ld returned 1 exit status make[2]: *** [app/nuismin] Error 1 make[1]: *** [app/CMakeFiles/nuismin.dir/all] Error 2 make: *** [all] Error 2

@sjdolan sjdolan changed the title CAn't build against NEUT built against ROOT 5 Can't build against NEUT built against ROOT 5 Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant