Message: linking error of example A01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None linking error of example A01 

Keywords: linking error,AIDA
Forum: Analysis
Date: 25 Apr, 2007
From: long <long>

Dear Geatn4 experts, 
    When I tried to compile exampleA01, I met linking error as follows.
My geant4 is 8.2., aidajni-3.2.6 ,jaida-3.3.0-2. JRE1.5.0.

The error information:

Using granular libraries ...
Linking A01app ...

/home/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)'
...........................
...........................
...........................
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/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/work/gwork/bin/Linux-g++/A01app] Error 1

Some enviroment variable have been set:
AIDAJNI_HOME=/home/aidajni-3.2.6
AIDAJNI_LIBS=-L/home/aidajni-3.2.6/lib/i386-Linux-g++ -lfreehep-aidajni-3.2.6 -L/opt/jdk1.6.0_01/jre/lib/i386/client -ljvm
AIDAJNI_NAME=freehep-aidajni-3.2.6
AIDAJNI_VERSION=3.2.6
AIDAJNI_INCLUDES=-I/home/aidajni-3.2.6/include
AIDAJNI_AOL=i386-Linux-g++
JAIDA_HOME=/home/jaida-3.3.0-2

     Could you tell me how to solve this problem? Thank you very much!


-long

 

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

1 Question: linking error of example A01   (Katherin Shtejer Diaz - 27 Sep, 2007)
(_ None: Re: linking error of example A01   (Mark Donszelmann - 27 Sep, 2007)
(_ None: Re: linking error of example A01   (Katherin Shtejer Diaz - 27 Sep, 2007)
(_ None: Re: linking error of example A01   (Mark Donszelmann - 27 Sep, 2007)
(_ Feedback: Re: linking error of example A01   (Katherin Shtejer Diaz - 27 Sep, 2007)
(_ None: Re:Now A01 links but does not run   (Katherin Shtejer Diaz - 15 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Mark Donszelmann - 15 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Katherin Shtejer - 15 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Da - 16 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Katherin Shtejer Diaz - 16 Oct, 2007)
(_ None: Both A01 and Hadr01, link but run is aborted   (Katherin Shtejer Diaz - 25 Oct, 2007)
(_ Feedback: Re: Both A01 and Hadr01, link but run is aborted   (Katherin Shtejer Diaz - 09 Nov, 2007)
 Add Message Add Message
to: "linking error of example A01"

 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 ]