kdevelop-pg-qt-1.0.0 compile problem

Vaclav Masin vaclav.masin at atlas.cz
Sat Aug 25 09:04:52 BST 2012


Hello,

I'm trying to compile kdevelop-4.3.1 with php support from source. I'm able to go through kdevplatform-1.3.1 and kdevelop-4.3.1 without any troubles but then my try to compile kdevelop-pg-qt-1.0.0 (I hope my understanding that I need to get this one installed first before jumping to kdevelop-php-1.3.1 and kdevelop-php-docs-1.3.1 is correct) ends with an error during the final linking process.

As this is my first time ever posting to a mailing list, I'm not sure if it's a good idea to include the exact error message right here because it's a bit lengthy so I'm attaching it in a file first.

I'm running KDE-4.8.2 using QT-4.8.1 on a LFS-6.6 based distro. Since LFS-6.6 is already sort of old coming with gcc-4.4.3, I can only guess that maybe this old compiler version might be the problem? Really just a guess, though. Perhaps I should also mention that I can compile and install kdevelop-4.2.3 with php support using kdevelop-pg-qt-0.9.5 just fine.

Thanks in advance for any ideas.

Vaclav Masin
-------------- next part --------------
Linking CXX executable kdev-pg-qt
CMakeFiles/kdev-pg-qt.dir/kdev-pg-regexp.o: In function `std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::vector<bool, std::allocator<bool> >, std::allocator<std::vector<bool, std::allocator<bool> > >, std::_Identity<std::vector<bool, std::allocator<bool> > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, true, true>::_M_rehash(unsigned int)':
kdev-pg-regexp.cpp:(.text._ZNSt10_HashtableISt6vectorIbSaIbEES2_SaIS2_ESt9_IdentityIS2_ESt8equal_toIS2_ESt4hashIS2_ENSt8__detail18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyELb0ELb1ELb1EE9_M_rehashEj[std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::vector<bool, std::allocator<bool> >, std::allocator<std::vector<bool, std::allocator<bool> > >, std::_Identity<std::vector<bool, std::allocator<bool> > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, true, true>::_M_rehash(unsigned int)]+0x6f): undefined reference to `std::hash<std::vector<bool, std::allocator<bool> > >::operator()(std::vector<bool, std::allocator<bool> >) const'
CMakeFiles/kdev-pg-qt.dir/kdev-pg-regexp.o: In function `std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int>, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>::_M_rehash(unsigned int)':
kdev-pg-regexp.cpp:(.text._ZNSt10_HashtableISt6vectorIbSaIbEESt4pairIKS2_jESaIS5_ESt10_Select1stIS5_ESt8equal_toIS2_ESt4hashIS2_ENSt8__detail18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyELb0ELb0ELb1EE9_M_rehashEj[std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int>, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>::_M_rehash(unsigned int)]+0x6f): undefined reference to `std::hash<std::vector<bool, std::allocator<bool> > >::operator()(std::vector<bool, std::allocator<bool> >) const'
CMakeFiles/kdev-pg-qt.dir/kdev-pg-regexp.o: In function `std::__detail::_Map_base<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int>, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, true, std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int>, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true> >::operator[](std::vector<bool, std::allocator<bool> > const&)':
kdev-pg-regexp.cpp:(.text._ZNSt8__detail9_Map_baseISt6vectorIbSaIbEESt4pairIKS3_jESt10_Select1stIS6_ELb1ESt10_HashtableIS3_S6_SaIS6_ES8_St8equal_toIS3_ESt4hashIS3_ENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyELb0ELb0ELb1EEEixERS5_[std::__detail::_Map_base<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int>, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, true, std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int>, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, unsigned int> >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true> >::operator[](std::vector<bool, std::allocator<bool> > const&)]+0x2c): undefined reference to `std::hash<std::vector<bool, std::allocator<bool> > >::operator()(std::vector<bool, std::allocator<bool> >) const'
CMakeFiles/kdev-pg-qt.dir/kdev-pg-regexp.o: In function `std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::vector<bool, std::allocator<bool> >, std::allocator<std::vector<bool, std::allocator<bool> > >, std::_Identity<std::vector<bool, std::allocator<bool> > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, true, true>::count(std::vector<bool, std::allocator<bool> > const&) const':
kdev-pg-regexp.cpp:(.text._ZNKSt10_HashtableISt6vectorIbSaIbEES2_SaIS2_ESt9_IdentityIS2_ESt8equal_toIS2_ESt4hashIS2_ENSt8__detail18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyELb0ELb1ELb1EE5countERKS2_[std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::vector<bool, std::allocator<bool> >, std::allocator<std::vector<bool, std::allocator<bool> > >, std::_Identity<std::vector<bool, std::allocator<bool> > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, true, true>::count(std::vector<bool, std::allocator<bool> > const&) const]+0x29): undefined reference to `std::hash<std::vector<bool, std::allocator<bool> > >::operator()(std::vector<bool, std::allocator<bool> >) const'
CMakeFiles/kdev-pg-qt.dir/kdev-pg-regexp.o: In function `std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > > > > >, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > > > > > >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > > > > > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>::_M_rehash(unsigned int)':                                                                                                                                                                                                 
kdev-pg-regexp.cpp:(.text._ZNSt10_HashtableISt6vectorIbSaIbEESt4pairIKS2_S0_IS3_IN6KDevPG10SeqCharSetILNS5_12CharEncodingE5EEES2_ESaIS9_EEESaISC_ESt10_Select1stISC_ESt8equal_toIS2_ESt4hashIS2_ENSt8__detail18_Mod_range_hashingENSK_20_Default_ranged_hashENSK_20_Prime_rehash_policyELb0ELb0ELb1EE9_M_rehashEj[std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > > > > >, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > > > > > >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)5>, std::vector<bool, std::allocator<bool> > > > > > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>::_M_rehash(unsigned int)]+0x6f): undefined reference to `std::hash<std::vector<bool, std::allocator<bool> > >::operator()(std::vector<bool, std::allocator<bool> >) const'           
CMakeFiles/kdev-pg-qt.dir/kdev-pg-regexp.o:kdev-pg-regexp.cpp:(.text._ZNSt10_HashtableISt6vectorIbSaIbEESt4pairIKS2_S0_IS3_IN6KDevPG10SeqCharSetILNS5_12CharEncodingE0EEES2_ESaIS9_EEESaISC_ESt10_Select1stISC_ESt8equal_toIS2_ESt4hashIS2_ENSt8__detail18_Mod_range_hashingENSK_20_Default_ranged_hashENSK_20_Prime_rehash_policyELb0ELb0ELb1EE9_M_rehashEj[std::_Hashtable<std::vector<bool, std::allocator<bool> >, std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)0>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)0>, std::vector<bool, std::allocator<bool> > > > > >, std::allocator<std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)0>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)0>, std::vector<bool, std::allocator<bool> > > > > > >, std::_Select1st<std::pair<std::vector<bool, std::allocator<bool> > const, std::vector<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)0>, std::vector<bool, std::allocator<bool> > >, std::allocator<std::pair<KDevPG::SeqCharSet<(KDevPG::CharEncoding)0>, std::vector<bool, std::allocator<bool> > > > > > >, std::equal_to<std::vector<bool, std::allocator<bool> > >, std::hash<std::vector<bool, std::allocator<bool> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>::_M_rehash(unsigned int)]+0x6f): more undefined references to `std::hash<std::vector<bool, std::allocator<bool> > >::operator()(std::vector<bool, std::allocator<bool> >) const' follow
collect2: ld returned 1 exit status
make[2]: *** [kdev-pg/kdev-pg-qt] Error 1
make[1]: *** [kdev-pg/CMakeFiles/kdev-pg-qt.dir/all] Error 2
make: *** [all] Error 2


More information about the KDevelop mailing list