Message: linking problem in example N02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None linking problem in example N02 

Forum: Installation and Configuration
Date: 31 Jul, 2009
From: Davinder Siwal <Davinder Siwal>

Hii to all geant4 users i am try to compile the novice example N02 but my terminal is shoing the following thing................... [guest@physDT6 N02]$ make Making dependency for file exampleN02.cc ... Making dependency for file src/ExN02TrackerSD.cc ... Making dependency for file src/ExN02TrackerHit.cc ... Making dependency for file src/ExN02SteppingVerbose.cc ... Making dependency for file src/ExN02SteppingAction.cc ... Making dependency for file src/ExN02RunAction.cc ... Making dependency for file src/ExN02PrimaryGeneratorAction.cc ... Making dependency for file src/ExN02PhysicsList.cc ... Making dependency for file src/ExN02MagneticField.cc ... Making dependency for file src/ExN02EventAction.cc ... Making dependency for file src/ExN02DetectorMessenger.cc ... Making dependency for file src/ExN02DetectorConstruction.cc ... Making dependency for file src/ExN02ChamberParameterisation.cc ... Compiling ExN02ChamberParameterisation.cc ... Compiling ExN02DetectorConstruction.cc ... Compiling ExN02DetectorMessenger.cc ... Compiling ExN02EventAction.cc ... Compiling ExN02MagneticField.cc ... Compiling ExN02PhysicsList.cc ... Compiling ExN02PrimaryGeneratorAction.cc ... Compiling ExN02RunAction.cc ... Compiling ExN02SteppingAction.cc ... Compiling ExN02SteppingVerbose.cc ... Compiling ExN02TrackerHit.cc ... Compiling ExN02TrackerSD.cc ... Creating/replacing object files in /home/guest/g4work/tmp/Linux-g++/exampleN02/libexampleN02.a ... ar: creating /home/guest/g4work/tmp/Linux-g++/exampleN02/libexampleN02.a Compiling exampleN02.cc ... Using granular libraries ... Linking exampleN02 ... /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<bool>(bool&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<long>(long&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<unsigned int>(unsigned int&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<unsigned short>(unsigned short&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<unsigned long>(unsigned long&)@GLIBCXX_3.4.9' /home/guest/CLHEP/lib/libCLHEP.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9' collect2: ld returned 1 exit status make: *** [/home/guest/g4work/bin/Linux-g++/exampleN02] Error 1 [guest@physDT6 N02]$

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

1 None: Re: linking problem in example N02   (Paul Nicholas Colin Gloster - 31 Jul, 2009)
(_ None: Re: linking problem in example N02   (Davinder Siwal - 31 Jul, 2009)
(_ None: Re: linking problem in example N02   (Paul Nicholas Colin Gloster - 31 Jul, 2009)
(_ None: Re: linking problem in example N02   (Ben Morgan - 31 Jul, 2009)
 Add Message Add Message
to: "linking problem in example N02"

 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 ]