[CMake] cmake compile on 64-bit SUSE

Andreas Schneider mail at cynapses.org
Tue Feb 20 12:09:14 EST 2007


George McConnell wrote:
> I cannot get get cmake-2.4.6 to compile on a 64-bit SUSE Enterprise
> Server. I suspect this is an ncurses issue, but I can't find a resolution.
> 
> I have the ncurses development package installed.
> 

There is a cmake 2.4.6 package for SLE 10 on the build service

http://software.opensuse.org/download/devel:/tools:/building/SLE_10/

If you still want to compile it yourself

> node:/tmp/cmake- 2.4.6 # rpm -qa | grep ncurse
> ncurses-devel-5.4-61.4
> ncurses-5.4-61.4
> yast2-ncurses-2.9.26-0.5
> 
> My build exits during the link of ccmake (~97%)
> 
> Linking CXX executable ../bin/ccmake
> /tmp/cmake-2.4.6
> /Source/libCMakeLib.a(cmCacheManager.o)(.gnu.linkonce.t._ZNSt23_
> Rb_tree_const_iteratorISt4pairI
> KN5cmsys6StringEN14cmCacheManager10CacheEntryEEEp
> pEv+0x19): In function
> `std::_Rb_tree_const_iterator<std::pair<cmsys::String con
> st, cmCacheManager::CacheEntry> >::operator++()':
> : undefined reference to
> `std::_Rb_tree_increment(std::_Rb_tree_node_base const*
> )'
> 
>  .............SNIP.....................
> 
> /tmp/cmake-
> 2.4.6/Source/kwsys/libcmsys.a(SystemTools.o)(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE9_M_insertEPSt18_Rb_tree_node_baseSA_RKS2_+0x92):
> In function `std::_Rb_tree<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> std::pair<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >,
> std::_Select1st<std::pair<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>>, std::less<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > >,
> std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >
>>::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,
> std::pair<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > const&)':
> : undefined reference to `std::_Rb_tree_insert_and_rebalance(bool,
> std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,
> std::_Rb_tree_node_base&)'
> /tmp/cmake-2.4.6/Source/kwsys/libcmsys.a(SystemTools.o)(.gnu.linkonce.t._ZNSt17_Rb_tree_iteratorISt4pairIKSsSsEEmmEv+0x19):
> In function `std::_Rb_tree_iterator<std::pair<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>>::operator--()':
> : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/ccmake] Error 1
> make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
> make: *** [all] Error 2
> 
> There is a large amount of errors like the one above. I chose to post
> the first and last error before the compile exits. I can attach the rest
> if that will be helpful.
> 
> Can anyone assist me?
> 
> Thanks,
> George
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

-- 
http://www.cynapses.org/ - cybernetic synapses


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070220/07711e75/signature.pgp


More information about the CMake mailing list