redhat 安装zhcon问题
fzmhlxk
|
1#
fzmhlxk 发表于 2008-08-10 13:58
redhat 安装zhcon问题
我在redhat9.0上编译zhcon出现一下错误
root@localhost zhcon-0.2.3]# make make all-recursive make[1]: Entering directory `/root/zhcon-0.2.3' Making all in src make[2]: Entering directory `/root/zhcon-0.2.3/src' Making all in display make[3]: Entering directory `/root/zhcon-0.2.3/src/display' source='fbdev.cpp' object='fbdev.o' libtool=no \ depfile='.deps/fbdev.Po' tmpdepfile='.deps/fbdev.TPo' \ depmode=none /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fbdev.o `test -f fbdev.cpp || echo './'`fbdev.cpp In file included from /usr/include/c++/3.2.2/cstring:49, from /usr/include/c++/3.2.2/bits/char_traits.h:45, from /usr/include/c++/3.2.2/string:47, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/cstddef:53: parse error before `unsigned' In file included from /usr/include/c++/3.2.2/bits/fpos.h:44, from /usr/include/c++/3.2.2/bits/char_traits.h:46, from /usr/include/c++/3.2.2/string:47, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:59: ISO C++ forbids in-class initialization of non-const static member `_S_boolalpha' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:60: ISO C++ forbids in-class initialization of non-const static member `_S_dec' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:61: ISO C++ forbids in-class initialization of non-const static member `_S_fixed' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:62: ISO C++ forbids in-class initialization of non-const static member `_S_hex' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:63: ISO C++ forbids in-class initialization of non-const static member `_S_internal' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:64: ISO C++ forbids in-class initialization of non-const static member `_S_left' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:65: ISO C++ forbids in-class initialization of non-const static member `_S_oct' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:66: ISO C++ forbids in-class initialization of non-const static member `_S_right' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:67: ISO C++ forbids in-class initialization of non-const static member `_S_scientific' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:68: ISO C++ forbids in-class initialization of non-const static member `_S_showbase' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:69: ISO C++ forbids in-class initialization of non-const static member `_S_showpoint' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:70: ISO C++ forbids in-class initialization of non-const static member `_S_showpos' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:71: ISO C++ forbids in-class initialization of non-const static member `_S_skipws' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:72: ISO C++ forbids in-class initialization of non-const static member `_S_unitbuf' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:73: ISO C++ forbids in-class initialization of non-const static member `_S_uppercase' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:74: ISO C++ forbids in-class initialization of non-const static member `_S_adjustfield' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:75: ISO C++ forbids in-class initialization of non-const static member `_S_basefield' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:76: ISO C++ forbids in-class initialization of non-const static member `_S_floatfield' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:79: ISO C++ forbids in-class initialization of non-const static member `_S_badbit' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:80: ISO C++ forbids in-class initialization of non-const static member `_S_eofbit' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:81: ISO C++ forbids in-class initialization of non-const static member `_S_failbit' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:84: ISO C++ forbids in-class initialization of non-const static member `_S_app' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:85: ISO C++ forbids in-class initialization of non-const static member `_S_ate' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:86: ISO C++ forbids in-class initialization of non-const static member `_S_bin' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:87: ISO C++ forbids in-class initialization of non-const static member `_S_in' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:88: ISO C++ forbids in-class initialization of non-const static member `_S_out' /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++io.h:89: ISO C++ forbids in-class initialization of non-const static member `_S_trunc' In file included from /usr/include/c++/3.2.2/string:47, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/bits/char_traits.h: In static member function `static wint_t std::char_traits<wchar_t>::not_eof(wint_t&)': /usr/include/c++/3.2.2/bits/char_traits.h:237: no matching function for call to `std::char_traits<wchar_t>::eq_int_type(unsigned int&, wint_t)' /usr/include/c++/3.2.2/bits/char_traits.h:230: candidates are: static bool std::char_traits<wchar_t>::eq_int_type(wint_t&, wint_t&) In file included from /usr/include/c++/3.2.2/bits/stl_algobase.h:69, from /usr/include/c++/3.2.2/memory:54, from /usr/include/c++/3.2.2/string:48, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/new: At global scope: /usr/include/c++/3.2.2/new:79: parse error before `unsigned' /usr/include/c++/3.2.2/new:79: parse error before `::' token /usr/include/c++/3.2.2/new:79: `operator new' takes type `size_t' (`unsigned int') as first parameter /usr/include/c++/3.2.2/new:80: parse error before `unsigned' /usr/include/c++/3.2.2/new:80: parse error before `::' token /usr/include/c++/3.2.2/new:80: `operator new' takes type `size_t' (`unsigned int') as first parameter /usr/include/c++/3.2.2/new:83: parse error before `unsigned' /usr/include/c++/3.2.2/new:83: `operator new' takes type `size_t' (`unsigned int') as first parameter /usr/include/c++/3.2.2/new:84: parse error before `unsigned' /usr/include/c++/3.2.2/new:84: `operator new' takes type `size_t' (`unsigned int') as first parameter /usr/include/c++/3.2.2/new:89: parse error before `unsigned' /usr/include/c++/3.2.2/new:89: `operator new' takes type `size_t' (`unsigned int') as first parameter /usr/include/c++/3.2.2/new: In function `void* operator new(unsigned int, ...)': /usr/include/c++/3.2.2/new:89: `__p' undeclared (first use this function) /usr/include/c++/3.2.2/new:89: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/c++/3.2.2/new: At global scope: /usr/include/c++/3.2.2/new:90: parse error before `unsigned' /usr/include/c++/3.2.2/new:90: `operator new' takes type `size_t' (`unsigned int') as first parameter In file included from /usr/include/c++/3.2.2/bits/stl_algobase.h:73, from /usr/include/c++/3.2.2/memory:54, from /usr/include/c++/3.2.2/string:48, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/bits/stl_iterator_base_types.h:140: redefinition of ` struct std::iterator_traits<_Tp*>' /usr/include/c++/3.2.2/bits/stl_iterator_base_types.h:131: previous definition of `struct std::iterator_traits<_Tp*>' In file included from /usr/include/c++/3.2.2/memory:54, from /usr/include/c++/3.2.2/string:48, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/bits/stl_algobase.h:278: redefinition of `template<class _Tp> _Tp* std::__copy_aux2(_Tp*, _Tp*, _Tp*, __true_type)' /usr/include/c++/3.2.2/bits/stl_algobase.h:272: `template<class _Tp> _Tp* std::__copy_aux2(_Tp*, _Tp*, _Tp*, __true_type)' previously declared here /usr/include/c++/3.2.2/bits/stl_algobase.h:412: redefinition of `struct std::__copy_backward_dispatch<_Tp*, _Tp*, __true_type>' /usr/include/c++/3.2.2/bits/stl_algobase.h:400: previous definition of `struct std::__copy_backward_dispatch<_Tp*, _Tp*, __true_type>' In file included from /usr/include/c++/3.2.2/memory:55, from /usr/include/c++/3.2.2/string:48, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/bits/stl_alloc.h: In static member function `static void* std::__new_alloc::allocate(unsigned int)': /usr/include/c++/3.2.2/bits/stl_alloc.h:109: call of overloaded `operator new( unsigned int&)' is ambiguous <internal>:109: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) /usr/include/c++/3.2.2/bits/stl_alloc.h: At global scope: /usr/include/c++/3.2.2/bits/stl_alloc.h:899: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:910: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:921: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:929: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:939: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:952: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:960: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h:970: ISO C++ forbids in-class initialization of non-const static member `_S_instanceless' /usr/include/c++/3.2.2/bits/stl_alloc.h: In instantiation of `std::allocator<char>': /usr/include/c++/3.2.2/bits/stl_alloc.h:979: instantiated from here /usr/include/c++/3.2.2/bits/stl_alloc.h:674: `_Tp* std::allocator<_Alloc>::address(_Tp&) [with _Tp = char]' and `_Tp* std::allocator<_Alloc>::address(_Tp&) [with _Tp = char]' cannot be overloaded /usr/include/c++/3.2.2/bits/stl_alloc.h: In instantiation of `std::allocator<wchar_t>': /usr/include/c++/3.2.2/bits/stl_alloc.h:980: instantiated from here /usr/include/c++/3.2.2/bits/stl_alloc.h:674: `_Tp* std::allocator<_Alloc>::address(_Tp&) [with _Tp = wchar_t]' and `_Tp* std::allocator<_Alloc>::address(_Tp&) [with _Tp = wchar_t]' cannot be overloaded In file included from /usr/include/c++/3.2.2/string:48, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/memory: In function `std::pair<_Tp*, ptrdiff_t> std::__get_temporary_buffer(int, _Tp*)': /usr/include/c++/3.2.2/memory:82: parse error before `unsigned' In file included from /usr/include/c++/3.2.2/string:52, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/bits/stl_function.h: At global scope: /usr/include/c++/3.2.2/bits/stl_function.h:701: new declaration `template<class _Ret, class _Tp> std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)())' /usr/include/c++/3.2.2/bits/stl_function.h:697: ambiguates old declaration ` template<class _Ret, class _Tp> std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)())' /usr/include/c++/3.2.2/bits/stl_function.h:709: new declaration `template<class _Ret, class _Tp> std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)())' /usr/include/c++/3.2.2/bits/stl_function.h:705: ambiguates old declaration ` template<class _Ret, class _Tp> std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)())' /usr/include/c++/3.2.2/bits/stl_function.h:717: new declaration `template<class _Ret, class _Tp, class _Arg> std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg))' /usr/include/c++/3.2.2/bits/stl_function.h:713: ambiguates old declaration ` template<class _Ret, class _Tp, class _Arg> std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg))' /usr/include/c++/3.2.2/bits/stl_function.h:726: new declaration `template<class _Ret, class _Tp, class _Arg> std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg))' /usr/include/c++/3.2.2/bits/stl_function.h:721: ambiguates old declaration ` template<class _Ret, class _Tp, class _Arg> std::mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg))' In file included from /usr/include/c++/3.2.2/string:57, from ../../src/basefont.h:25, from fbdev.h:23, from fbdev.cpp:30: /usr/include/c++/3.2.2/bits/basic_string.h: In instantiation of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >': /usr/include/c++/3.2.2/bits/basic_string.tcc:948: instantiated from here /usr/include/c++/3.2.2/bits/basic_string.h:217: ISO C++ forbids in-class initialization of non-const static member `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::npos' /usr/include/c++/3.2.2/bits/basic_string.h: In instantiation of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >': /usr/include/c++/3.2.2/bits/basic_string.tcc:948: instantiated from here /usr/include/c++/3.2.2/bits/basic_string.h:287: `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:295: `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, _CharT*, _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, _CharT*, _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:356: ` __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::begin() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and ` __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::begin() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:367: ` __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::end() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and ` __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::end() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:375: ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rbegin() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rbegin() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:383: ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rend() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rend() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:421: `_Alloc::reference std::basic_string<_CharT, _Traits, _Alloc>::operator[](_Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and `_Alloc::const_reference std::basic_string<_CharT, _Traits, _Alloc>::operator[](_Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:436: `_Alloc::reference std::basic_string<_CharT, _Traits, _Alloc>::at(_Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and `_Alloc::const_reference std::basic_string<_CharT, _Traits, _Alloc>::at(_Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:700: `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, _CharT*, _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and ` std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, _CharT*, _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:711: `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' and ` std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h: In instantiation of `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >': /usr/include/c++/3.2.2/bits/basic_string.tcc:963: instantiated from here /usr/include/c++/3.2.2/bits/basic_string.h:217: ISO C++ forbids in-class initialization of non-const static member `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::npos' /usr/include/c++/3.2.2/bits/basic_string.h: In instantiation of `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >': /usr/include/c++/3.2.2/bits/basic_string.tcc:963: instantiated from here /usr/include/c++/3.2.2/bits/basic_string.h:287: `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:295: `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, _CharT*, _CharT*) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and `static void std::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, _CharT*, _CharT*) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:356: ` __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::begin() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and ` __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::begin() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:367: ` __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::end() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and ` __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::end() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:375: ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rbegin() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rbegin() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:383: ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rend() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and ` std::reverse_iterator<__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > > std::basic_string<_CharT, _Traits, _Alloc>::rend() [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:421: `_Alloc::reference std::basic_string<_CharT, _Traits, _Alloc>::operator[](_Alloc::size_type) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and `_Alloc::const_reference std::basic_string<_CharT, _Traits, _Alloc>::operator[](_Alloc::size_type) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:436: `_Alloc::reference std::basic_string<_CharT, _Traits, _Alloc>::at(_Alloc::size_type) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and `_Alloc::const_reference std::basic_string<_CharT, _Traits, _Alloc>::at(_Alloc::size_type) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:700: `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, _CharT*, _CharT*) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and ` std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, _CharT*, _CharT*) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded /usr/include/c++/3.2.2/bits/basic_string.h:711: `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::const_pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' and `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]' cannot be overloaded fbdev.cpp: In static member function `static OPEN_RC FBDev::TryOpen()': fbdev.cpp:128: no matching function for call to `std::runtime_error:: runtime_error(const char[23])' /usr/include/c++/3.2.2/stdexcept:109: candidates are: std::runtime_error::runtime_error(std::runtime_error&) /usr/include/c++/3.2.2/stdexcept:115: std::runtime_error::runtime_error(std::string&) fbdev.cpp: In static member function `static OPEN_RC FBDev::LinearSet(fb_var_screeninfo&)': fbdev.cpp:142: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:142: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) fbdev.cpp:145: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:145: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) fbdev.cpp:149: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:149: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) fbdev.cpp:151: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:151: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) fbdev.cpp:154: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:154: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) fbdev.cpp:157: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:157: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) fbdev.cpp: In static member function `static void FBDev::VGAPlaneSet()': fbdev.cpp:172: call of overloaded `operator new(unsigned int)' is ambiguous <internal>:172: candidates are: void* operator new(unsigned int) /usr/include/c++/3.2.2/new:89: void* operator new(unsigned int, ...) make[3]: *** [fbdev.o] Error 1 make[3]: Leaving directory `/root/zhcon-0.2.3/src/display' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/zhcon-0.2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/zhcon-0.2.3' make: *** [all] Error 2 请问 make[3]: *** [fbdev.o] Error 1 make[3]: Leaving directory `/root/zhcon-0.2.3/src/display' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/zhcon-0.2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/zhcon-0.2.3' make: *** [all] Error 2 这些是什么错误啊。。。。 谢谢!!! |