-
Notifications
You must be signed in to change notification settings - Fork 102
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
Compilation error with gcc-5.1.1, FairRoot(v-15.07a), FairSoft(jul15p1) #4
Comments
Hello, R3BRoot is currently not compatible with gcc 5.x Best regards, |
Hello Madalin, unfortunately I can not reproduce your problem. Which version of R3BRoot do you mean? And version of ROOT? Your compilation error is looking like you are compiling master branch with ROOT 6. But your issue description states different. |
Hi Dima, I checked again the configuration and I use FairRoot (v-15.07a), FairSoft (jul15p1, without compilation of ROOT6, just ROOT5) and the recent R3BRoot tag(42f919c) - I quess jul15. Best regards |
Could you try with dev branch, please. Cheers, |
Unfortunately, the same error exist ... |
probably this may help ... the configuration file for R3BRoot I have ... -- The C compiler identification is GNU 5.1.1 |
after a correct switch to dev branch: now it compiled ok ... thank you |
Hello,
Within this configuration, master or dev of R3BRoot (jul15) doesn't compile ... does it support ROOT 5 ?!
[ 39%] Built target R3BGfi
[ 39%] Built target libR3BGfi.rootmap
[ 41%] Built target R3BLandDB
[ 41%] Building CXX object land/CMakeFiles/R3BLand.dir/G__R3BLandDict.cxx.o
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0, fromPATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘ROOT::TGenericClassInfo* ROOTDict::GenerateInitInstanceLocal(const std::vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>)’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4435:68: error: within this context
static ROOT::TGenericClassInfo *GenerateInitInstanceLocal(const vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>)
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4437:7: error: within this context
vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit> ptr = 0;
^
In file included fromPATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4438:69: error: within this context
static ::TVirtualIsAProxy isa_proxy = new ::TIsAProxy(typeid(vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>),0);
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4441:26: error: within this context
typeid(vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>), ::ROOT::DefineBehavior(ptr, ptr),
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4443:26: error: within this context
sizeof(vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>) );
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4449:112: error: within this context
instance.AdoptCollectionProxyInfo( ::ROOT::TCollectionProxyInfo::Generate( ::ROOT::TCollectionProxyInfo::Pushback< vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit> >()));
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: At global scope:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4453:91: error: within this context
static ::ROOT::TGenericClassInfo _R__UNIQUE(Init) = GenerateInitInstanceLocal((const vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>)0x0); R__UseDummy(R__UNIQUE(Init));
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘void ROOTDict::vectorlER3BLandDigitizer_CFDcLcLR3BLandDigitizer_CFD_Paddle_HitgR_Dictionary()’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4457:52: error: within this context
::ROOTDict::GenerateInitInstanceLocal((const vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>)0x0)->GetClass();
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘void_ ROOTDict::new_vectorlER3BLandDigitizer_CFDcLcLR3BLandDigitizer_CFD_Paddle_HitgR(void_)’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4465:57: error: within this context
return p ? ::new((::ROOT::TOperatorNewHelper_)p) vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit> : new vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>;
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4465:125: error: within this context
return p ? ::new((::ROOT::TOperatorNewHelper_)p) vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit> : new vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>;
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘void_ ROOTDict::newArray_vectorlER3BLandDigitizer_CFDcLcLR3BLandDigitizer_CFD_Paddle_HitgR(Long_t, void_)’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4468:56: error: within this context
return p ? ::new((::ROOT::TOperatorNewHelper_)p) vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>[nElements] : new vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>[nElements];
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4468:135: error: within this context
return p ? ::new((::ROOT::TOperatorNewHelper_)p) vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>[nElements] : new vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>[nElements];
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘void ROOTDict::delete_vectorlER3BLandDigitizer_CFDcLcLR3BLandDigitizer_CFD_Paddle_HitgR(void_)’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4472:16: error: within this context
delete ((vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit>)p);
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘void ROOTDict::deleteArray_vectorlER3BLandDigitizer_CFDcLcLR3BLandDigitizer_CFD_Paddle_HitgR(void)’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4475:19: error: within this context
delete ;
^
In file included from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.h:46:0,
from PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:17:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h: In function ‘void ROOTDict::destruct_vectorlER3BLandDigitizer_CFDcLcLR3BLandDigitizer_CFD_Paddle_HitgR(void_)’:
PATH_TO_WORK/GSI/R3BRoot/source/land/R3BLandDigitizer_CFD.h:58:9: error: ‘struct R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit’ is protected
struct R3BLandDigitizer_CFD_Paddle_Hit
^
PATH_TO_WORK/GSI/R3BRoot/build/land/G__R3BLandDict.cxx:4478:15: error: within this context
typedef vector<R3BLandDigitizer_CFD::R3BLandDigitizer_CFD_Paddle_Hit> current_t;
^
land/CMakeFiles/R3BLand.dir/build.make:827: recipe for target 'land/CMakeFiles/R3BLand.dir/G__R3BLandDict.cxx.o' failed
make[2]: *_* [land/CMakeFiles/R3BLand.dir/G__R3BLandDict.cxx.o] Error 1
CMakeFiles/Makefile2:1521: recipe for target 'land/CMakeFiles/R3BLand.dir/all' failed
make[1]: *** [land/CMakeFiles/R3BLand.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: