Message: Problems compilig applications Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problems compilig applications 

Forum: Installation and Configuration
Date: 10 May, 2009
From: Antonio Magalhaes <Antonio Magalhaes>

I compiled Geant4 9.2, and it seems to be sucessful (no error messages). I downloaded Jaida and Aida-Jni and set the environments correctly (I think...). when I compile simple examples like N01, It works fine, but other examples, like TestEm11, the follow error occurs in the and of process, on linking...(It's too long, sorry).

Using global libraries ... Linking TestEm11 ... /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<long long const, void const*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKxPKvEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x25): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<long long const, void const*> >, std::__default_alloc_template<true, 0> >::deallocate(std::_Rb_tree_node<std::pair<long long const, void const*> >*, unsigned int)': ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKxPKvEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS6_j+0x21): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<void const* const, _jobject*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKPKvP8_jobjectEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x28): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<void const* const, _jobject*> >, std::__default_alloc_template<true, 0> >::deallocate(std::_Rb_tree_node<std::pair<void const* const, _jobject*> >*, unsigned int)': ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKPKvP8_jobjectEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS8_j+0x24): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<void const* const, _jclass*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKPKvP7_jclassEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x28): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<void const* const, _jclass*> >, std::__default_alloc_template<true, 0> >::deallocate(std::_Rb_tree_node<std::pair<void const* const, _jclass*> >*, unsigned int)': ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKPKvP7_jclassEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS8_j+0x24): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(CITextStyle.o): In function `std::__simple_alloc<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__default_alloc_template<true, 0> >::deallocate(std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)': CITextStyle.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj+0x1a): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(CIDataPointSet.o): In function `std::__simple_alloc<double, std::__default_alloc_template<true, 0> >::deallocate(double*, unsigned int)': CIDataPointSet.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIdSt24__default_alloc_templateILb1ELi0EEE10deallocateEPdj+0x1a): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(CIDataPointSet.o): In function `std::__simple_alloc<double, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': CIDataPointSet.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIdSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1e): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(JIFunction.o): In function `std::__simple_alloc<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': JIFunction.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1e): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(CITuple.o): In function `std::__simple_alloc<float, std::__default_alloc_template<true, 0> >::deallocate(float*, unsigned int)': CITuple.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIfSt24__default_alloc_templateILb1ELi0EEE10deallocateEPfj+0x1a): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(CITuple.o): In function `std::__simple_alloc<float, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': CITuple.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIfSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1e): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(JIFitter.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, AIDA::IFitParameterSettings*> >, std::__default_alloc_template<true, 0> >::deallocate(std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, AIDA::IFitParameterSettings*> >*, unsigned int)': JIFitter.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKSsPN4AIDA21IFitParameterSettingsEEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS7_j+0x24): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(JIFitter.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, AIDA::IFitParameterSettings*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': JIFitter.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKSsPN4AIDA21IFitParameterSettingsEEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x28): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(JIFitData.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<int const, AIDA::IRangeSet*> >, std::__default_alloc_template<true, 0> >::deallocate(std::_Rb_tree_node<std::pair<int const, AIDA::IRangeSet*> >*, unsigned int)': JIFitData.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKiPN4AIDA9IRangeSetEEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS7_j+0x24): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /home/antonio/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(JIFitData.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<int const, AIDA::IRangeSet*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)': JIFitData.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKiPN4AIDA9IRangeSetEEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x28): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' collect2: ld returned 1 exit status make: ** [/home/antonio/geant4/g4work/bin/Linux-g++/TestEm11] Error 1

I don't know the problem... someone? Thanks!

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

1 None: Re: Problems compilig applications   (Youming Yang - 14 Jun, 2011)
 Add Message Add Message
to: "Problems compilig applications"

 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 ]