<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello GATE users,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm trying to install GATE v7.2 on Ubuntu 16.04. I'm also using:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">gcc 4.9.3</div><div class="gmail_default" style="font-size:small">geant4.10.2</div><div class="gmail_default" style="font-size:small">root 6.06.02</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As far as I can see, geant4 and root have both been successfully compiled. After configuring and generating in ccmake for gate, then running 'make -j4', I get this error:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::SetOuterRadius(double)':</div><div class="gmail_default">GateCylinder.cc:(.text._ZN6G4Tubs14SetOuterRadiusEd[_ZN6G4Tubs14SetOuterRadiusEd]+0x323): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'</div><div class="gmail_default">CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::SetZHalfLength(double)':</div><div class="gmail_default">GateCylinder.cc:(.text._ZN6G4Tubs14SetZHalfLengthEd[_ZN6G4Tubs14SetZHalfLengthEd]+0x26a): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'</div><div class="gmail_default">CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::CheckDPhiAngle(double)':</div><div class="gmail_default">GateCylinder.cc:(.text._ZN6G4Tubs14CheckDPhiAngleEd[_ZN6G4Tubs14CheckDPhiAngleEd]+0x286): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'</div><div class="gmail_default">CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::SetInnerRadius(double)':</div><div class="gmail_default">GateCylinder.cc:(.text._ZN6G4Tubs14SetInnerRadiusEd[_ZN6G4Tubs14SetInnerRadiusEd]+0x323): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'</div><div class="gmail_default">CMakeFiles/Gate.dir/source/geometry/src/GateCone.cc.o: In function `G4Cons::CheckDPhiAngle(double)':</div><div class="gmail_default">GateCone.cc:(.text._ZN6G4Cons14CheckDPhiAngleEd[_ZN6G4Cons14CheckDPhiAngleEd]+0x286): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'</div><div class="gmail_default">CMakeFiles/Gate.dir/source/geometry/src/GateSphere.cc.o:GateSphere.cc:(.text._ZN8G4Sphere14CheckDPhiAngleEd[_ZN8G4Sphere14CheckDPhiAngleEd]+0x286): more undefined references to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)' follow</div><div class="gmail_default">collect2: error: ld returned 1 exit status</div><div class="gmail_default">CMakeFiles/Gate.dir/build.make:16715: recipe for target 'Gate' failed</div><div class="gmail_default">make[2]: *** [Gate] Error 1</div><div class="gmail_default">CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' failed</div><div class="gmail_default">make[1]: *** [CMakeFiles/Gate.dir/all] Error 2</div><div class="gmail_default">Makefile:127: recipe for target 'all' failed</div><div class="gmail_default">make: *** [all] Error 2</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default">I suppose I need to define this G4Exception function somewhere, or fix a path to it. Something along those lines. Does anyone have any insights, or have had this problem before?</div><div class="gmail_default"><br></div><div class="gmail_default">Is it possible that the G4Exception are in these .cc.o files but defined after they are called by other functions (in G4Tubs, etc), i.e. I need to move G4Exception before say SetOuterRadius is defined? I was going to try this, but I don't know of any programs that can read and edit .cc.o files. </div><div class="gmail_default"><br></div><div class="gmail_default">Thanks in advance,</div><div class="gmail_default">Devin Van Elburg</div></div></div>