GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Compilation Problem PndLmdDataFacade.cxx on SLC 5.10 (Boron)
[FIXED] Compilation Problem PndLmdDataFacade.cxx on SLC 5.10 (Boron) [message #16891] Tue, 01 July 2014 20:11 Go to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Dear all,

I get a compilation error for the latest trunk on our local cluster using externals apr13.
Here is the relevant part, below you find more details.

/home/panda/pandaroot_jul14/trunk/lmd/LmdFit/LumiImpl/data/PndLmdDataFacade.cxx: In member function 'void PndLmdDataFacade::addFileList(std::string)':
/home/panda/pandaroot_jul14/trunk/lmd/LmdFit/LumiImpl/data/PndLmdDataFacade.cxx:58: error: no matching function for call to 'std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(std::string&)'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/fstream:442: note: candidates are: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/fstream:428: note:                 std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:89: note:                 std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(const std::basic_ifstream<char, std::char_traits<char> >&)


Toggle Spoiler


I assume the reason is an old version of gcc. Is there any work-around? Can I safely comment out some part of PandaRoot to get the latest trunk to compile and run some simulations on our cluster?
Or do I have to update gcc (or possibly the whole system)? (This is probably not even possible as the machines are also used for other purposes...)

Here some more info about the operating system:
$ uname -srv
Linux 2.6.18-371.4.1.el5 #1 SMP Thu Jan 30 13:11:18 CET 2014
$ cat /etc/*-release*
Scientific Linux CERN SLC release 5.10 (Boron)


Kind regards,
Martin

[Updated on: Wed, 02 July 2014 22:29] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Compilation problem FairFilteredPrimaryGenerator
Next Topic: [WONTBEFIXED] Error messages in macro/run scripts with Rev: 25503
Goto Forum:
  


Current Time: Mon Nov 25 22:03:08 CET 2024

Total time taken to generate the page: 0.00702 seconds