|
发表于 2005-12-26 19:39:45
|
显示全部楼层
编译 unicon 时出错,请帮我看看,我用的是 gentoo
make[2]: Entering directory `/root/src/unicon-3.0.4/unicon/unicon'
g++ -O2 -Wall -I. -I../include -I../../include -I../unikey -D__DLL_SUPPORT__ -DUNICON_LIB=\"/usr/lib/unicon\" -c Main.cpp -o Main.o
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_algobase.h:75,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/char_traits.h:46,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/ios:46,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/istream:45,
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/fstream:45,
from ./MyConfig.hpp:29,
from ./MyInputArea.hpp:59,
from ./AImmHzInput.hpp:28,
from ./ImmHzInput.hpp:32,
from Main.cpp:56:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In constructor `std::reverse_iterator<_Iterator>::reverse_iterator()':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:114: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:114: error: expected `{' before '(' token
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In constructor `std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:120: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:120: error: expected `{' before '(' token
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In copy constructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reverse_iterator<_Iterator>&)':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:126: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:126: error: expected `{' before '(' token
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In constructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reverse_iterator<_Iter>&)':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:134: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:134: error: expected `{' before '(' token
make[2]: *** [Main.o] 错误 1
make[2]: Leaving directory `/root/src/unicon-3.0.4/unicon/unicon'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/src/unicon-3.0.4/unicon'
make: *** [all] 错误 2 |
|