aMule Bug Tracker - aMule
View Issue Details
0000486aMuleExternal Connpublic2005-06-20 00:402005-08-11 01:35
aronchi 
Xaignar 
normalblockalways
resolvedfixed 
2.0.3 
SVN 
0000486: aMule doesn't compile caused by undefined reference to `CValueMap::~CValueMap()'
When I try to compile aMule 2.0.3 I receive this error:

mule-ExternalConn.o(.gnu.linkonce.t._ZNSt4pairIKPv9CValueMapEC1ERS1_RKS2_[std::pair<void* const, CValueMap>::pair(void* const&, CValueMap const&)]+0x28): In function `std::pair<void* const, CValueMap>::pair(void* const&, CValueMap const&)':
/usr/lib/gcc/ppc64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_pair.h:85: undefined reference to `CValueMap::CValueMap(CValueMap const&)'
amule-ExternalConn.o(.gnu.linkonce.t._ZNSt4pairIKPv9CValueMapED1Ev[std::pair<void* const, CValueMap>::~pair()]+0x10): In function `std::pair<void* const, CValueMap>::~pair()':
/usr/lib/gcc/ppc64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_pair.h:69: undefined reference to `CValueMap::~CValueMap()'
amule-ExternalConn.o(.gnu.linkonce.t._ZNSt4pairIKPv9CValueMapEC1ERKS3_[std::pair<void* const, CValueMap>::pair(std::pair<void* const, CValueMap> const&)]+0x28): In function `std::pair<void* const, CValueMap>::pair(std::pair<void* const, CValueMap> const&)':
/usr/lib/gcc/ppc64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_pair.h:69: undefined reference to `CValueMap::CValueMap(CValueMap const&)'
amule-ExternalConn.o(.gnu.linkonce.t._ZN9__gnu_cxx15__mt_alloc_baseI8CMD4HashE7destroyEPS1_[__gnu_cxx::__mt_alloc_base<CMD4Hash>::destroy(CMD4Hash*)]+0x10): In function `__gnu_cxx::__mt_alloc_base<CMD4Hash>::destroy(CMD4Hash*)':
/usr/lib/gcc/ppc64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/ext/mt_allocator.h:614: undefined reference to `CMD4Hash::~CMD4Hash()'
amule-ExternalConn.o(.gnu.linkonce.t._ZNSt3mapIPv9CValueMapSt4lessIS0_ESaISt4pairIKS0_S1_EEEixERS5_[std::map<void*, CValueMap, std::less<void*>, std::allocator<std::pair<void* const, CValueMap> > >::operator[](void* const&)]+0xec): In function `std::map<void*, CValueMap, std::less<void*>, std::allocator<std::pair<void* const, CValueMap> > >::operator[](void* const&)':
/usr/lib/gcc/ppc64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_map.h:339: undefined reference to `CValueMap::~CValueMap()'
amule-ExternalConn.o(.gnu.linkonce.t._ZNSt3mapIPv9CValueMapSt4lessIS0_ESaISt4pairIKS0_S1_EEEixERS5_[std::map<void*, CValueMap, std::less<void*>, std::allocator<std::pair<void* const, CValueMap> > >::operator[](void* const&)]+0x12c):/usr/lib/gcc/ppc64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_map.h:339: undefined reference to `CValueMap::~CValueMap()'
collect2: ld returned 1 exit status

I successfully compiled 2.0.1 version and older one
I'm using a Fedora core 4 on a ppc iBook.
No tags attached.
? Makefile (25,367) 2005-06-20 00:40
https://bugs.amule.org/file_download.php?file_id=63&type=bug
? Compilation.flags (4,582) 2005-06-20 00:40
https://bugs.amule.org/file_download.php?file_id=64&type=bug
? config.status (68,598) 2005-06-20 00:41
https://bugs.amule.org/file_download.php?file_id=65&type=bug
log config.log (123,790) 2005-06-20 00:41
https://bugs.amule.org/file_download.php?file_id=66&type=bug
Issue History
2005-06-20 00:40aronchiNew Issue
2005-06-20 00:40aronchiFile Added: Makefile
2005-06-20 00:40aronchiFile Added: Compilation.flags
2005-06-20 00:41aronchiFile Added: config.status
2005-06-20 00:41aronchiFile Added: config.log
2005-07-05 07:14KryStatusnew => acknowledged
2005-08-11 01:35XaignarStatusacknowledged => resolved
2005-08-11 01:35XaignarFixed in Version => CVS
2005-08-11 01:35XaignarResolutionopen => fixed
2005-08-11 01:35XaignarAssigned To => Xaignar
2005-08-11 01:35XaignarNote Added: 0001208

Notes
(0001208)
Xaignar   
2005-08-11 01:35   
I beleive that this has been fixed on current CVS, feel free to reopen this bug if that is not the case.

Cheers,
 Xaignar