[CMake] cmake compile on 64-bit SUSE
George McConnell
gmcconnell at gmail.com
Tue Feb 20 11:48:56 EST 2007
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070220/3f3ce0d0/attachment.htm
More information about the CMake
mailing list