Message: My first Geant4 test at CERN lxplus: GLIBCXX errors... Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question My first Geant4 test at CERN lxplus: GLIBCXX errors...  

Forum: Installation and Configuration
Date: 11 Dec, 2014
From: Leonid Vertogradov <Leonid Vertogradov>

   Dear expertx, it looks as not Geant4's error. But what's wrong with this GLIBCXX ?
   Thank you in advance.
Leonid
===============================


[lvertogr@lxplus0065 B1TEST]$  . /afs/cern.ch/sw/lcg/external/gcc/4.9/x86_64-slc6/setup.sh

[lvertogr@lxplus0065 B1TEST]$ source /afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/CMake-setup.sh
Setting up the environment for Geant4 10.1 for use with CMake

[lvertogr@lxplus0065 B1TEST]$ cp -r /afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/share/Geant4-10.1.0/examples/basic/B1 .
[lvertogr@lxplus0065 B1TEST]$ mkdir B1_build
[lvertogr@lxplus0065 B1TEST]$ cd B1_build/

[lvertogr@lxplus0065 B1_build]$ cmake -DGeant4_DIR=/afs/cern.ch/sw/lcg/external/
geant4/10.1/x86_64-slc6-gcc49-opt/lib64/Geant4-10.1.0 ../B1
-- The C compiler identification is GNU 4.4.7
....
-- Build files have been written to: /afs/cern.ch/user/l/lvertogr/B1TEST/B1_build

[lvertogr@lxplus0065 B1_build]$ make
Scanning dependencies of target exampleB1
[ 12%] Building CXX object CMakeFiles/exampleB1.dir/exampleB1.cc.o
....
[100%] Building CXX object CMakeFiles/exampleB1.dir/src/B1SteppingAction.cc.o
Linking CXX executable exampleB1
/afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/lib64/libG4analysis.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/lib64/libG4processes.so: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/lib64/libG4processes.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/lib64/libG4analysis.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/afs/cern.ch/sw/lcg/external/geant4/10.1/x86_64-slc6-gcc49-opt/lib64/libG4visHepRep.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
collect2: ld returned 1 exit status
make[2]: *** [exampleB1] Error 1
make[1]: *** [CMakeFiles/exampleB1.dir/all] Error 2
make: *** [all] Error 2

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: My first Geant4 test at CERN lxplus: GLIBCXX errors...   (Gunter Folger - 16 Dec, 2014)
 Add Message Add Message
to: "My first Geant4 test at CERN lxplus: GLIBCXX errors... "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]