|
[Rivet] Rivet on lxplus at CERN - clash with stdio ?Antonin Maire amaire at physi.uni-heidelberg.deTue May 14 10:05:09 BST 2013
Good morning, I have a naïve question about Rivet-buildplugin. Since last week, when one tries to connect to lxplus, one does not manage to compile any analysis.cc (home made like official ones already in the sources). The steps that are performed : 1/ source ~abuckley/public/setupRivetProf.sh 2/ rivet-buildplugin MyAnalysis.so myAnalysis.cc And the error message points systematically to stdio.h See attachment below. I wanted to know if you are aware of any recent change (clash between linux distributions, upgrade of gcc, change in rivet 1.8, ...). Maybe we have missed something obvious. Have a nice day, Antonin and Marc, ALICE in Heidelberg ---------------------------------- -------------- next part -------------- #Inputcommand [mbarra at lxplus0017 MyAnalysis]$ rivet-buildplugin Rivet_kaon_analyses.so my_kaon_analyses.cc #g++ configuration (automatically produced by the rivet-buildplugin tool) g++ -o "Rivet_kaon_analyses.so" -shared -fPIC -I/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/HepMC/2.06.05/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/fastjet/3.0.3/x86_64-slc5-gcc43-opt/include -I/afs/.cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/Boost/1.48.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_48 -pedantic -ansi -Wall -Wno-long-long -Wno-format -O2 -fPIC -Wall -I/afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/HepMC/2.06.05/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/fastjet/3.0.3/x86_64-slc5-gcc43-opt/include -I/afs/.cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/Boost/1.48.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_48 -L/afs/cern.ch/sw/lcg/external/fastjet/3.0.3/x86_64-slc5-gcc43-opt/lib my_kaon_analyses.cc #Errormessage from the Compiler In file included from /usr/include/stdio.h:929, from /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/cstdio:50, from /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/bits/char_traits.h:48, from /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/string:47, from /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include/Rivet/RivetSTL.hh:9, from /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include/Rivet/Rivet.hh:8, from my_kaon_analyses.cc:2: /usr/include/bits/stdio.h: In function ?__ssize_t getline(char**, size_t*, FILE*)?: /usr/include/bits/stdio.h:118: error: ?__getdelim? was not declared in this scope In file included from /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/bits/localefwd.h:47, from /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/string:50, from /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include/Rivet/RivetSTL.hh:9, from /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include/Rivet/Rivet.hh:8, from my_kaon_analyses.cc:2: /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/x86_64-unknown-linux-gnu/bits/c++locale.h: At global scope: /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/x86_64-unknown-linux-gnu/bits/c++locale.h:57: error: ?uselocale? was not declared in this scope /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/x86_64-unknown-linux-gnu/bits/c++locale.h:57: error: invalid type in declaration before ?;? token /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/x86_64-unknown-linux-gnu/bits/c++locale.h: In function ?int std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)?: /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/x86_64-unknown-linux-gnu/bits/c++locale.h:77: error: ?__gnu_cxx::__uselocale? cannot be used as a function /afs/cern.ch/sw/lcg/contrib/gcc/4.3.6/x86_64-slc5-gcc46-opt/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.6/../../../../include/c++/4.3.6/x86_64-unknown-linux-gnu/bits/c++locale.h:102: error: ?__gnu_cxx::__uselocale? cannot be used as a function /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include/Rivet/Math/MathHeader.hh: At global scope: /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt64b/rivet/1.8.2/x86_64-slc5-gcc43-opt/include/Rivet/Math/MathHeader.hh:44: warning: ?Rivet::MAXINT? defined but not used -------------- next part -------------- A non-text attachment was scrubbed... Name: amaire.vcf Type: text/x-vcard Size: 326 bytes Desc: not available URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20130514/b3502eb0/attachment.vcf>
More information about the Rivet mailing list |