红联Linux门户
Linux帮助

用qte2.3.10编译arm程序,出错信息如下

发布时间:2009-01-14 11:10:22来源:红联作者:泡茉蓝茶
[root@localhost armmapOrientation090103]# make
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/zw/qt2/qt-2.3.10/include -I/zw/qt2/qtopia-free-2.1.1/include -o AStar.o AStar.cpp
In file included from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/ios_base.h:47,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ios:49,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ostream:45,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/iostream:45,
from AStar.cpp:4:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_classes.h: In member function `bool std::locale::_Impl::_M_check_same_name()':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_classes.h:538: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_classes.h: In constructor `std::locale::locale(const std::locale&, _Facet*)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_classes.h:579: error: `qstrcpy' is not a member of `std'
In file included from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:1537,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/basic_ios.h:44,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ios:51,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ostream:45,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/iostream:45,
from AStar.cpp:4:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/codecvt.h: In constructor `std::codecvt_byname<_InternT, _ExternT, _StateT>::codecvt_byname(const char*, size_t)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/codecvt.h:460: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/codecvt.h:460: error: `qstrcmp' is not a member of `std'
In file included from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/basic_ios.h:44,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ios:51,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ostream:45,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/iostream:45,
from AStar.cpp:4:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:1902: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:1902: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:2657: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:2657: error: `qstrcmp' is not a member of `std'
In file included from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:2967,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/basic_ios.h:44,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ios:51,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ostream:45,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/iostream:45,
from AStar.cpp:4:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/arm-linux/bits/time_members.h: In constructor `std::__timepunct<_CharT>::__timepunct(int*, const char*, size_t)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/arm-linux/bits/time_members.h:58: error: `qstrlen' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/arm-linux/bits/time_members.h:59: error: `qstrcpy' is not a member of `std'
In file included from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/basic_ios.h:44,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ios:51,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ostream:45,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/iostream:45,
from AStar.cpp:4:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h: In constructor `std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:3936: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:3936: error: `qstrcmp' is not a member of `std'
In file included from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/locale_facets.h:4487,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/bits/basic_ios.h:44,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ios:51,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/ostream:45,
from /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/iostream:45,
from AStar.cpp:4:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/arm-linux/bits/messages_members.h: In constructor `std::messages_byname<_CharT>::messages_byname(const char*, size_t)':
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/arm-linux/bits/messages_members.h:79: error: `qstrcmp' is not a member of `std'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../include/c++/3.4.1/arm-linux/bits/messages_members.h:79: error: `qstrcmp' is not a member of `std'
AStar.cpp: In member function `bool CAStar::FindPath(int, int, CWayPoint*)':
AStar.cpp:96: warning: comparison between signed and unsigned integer expressions
AStar.cpp:99: warning: comparison between signed and unsigned integer expressions
AStar.cpp:42: warning: unused variable 'MinF'
make: *** [AStar.o] 错误 1
[root@localhost armmapOrientation090103]#

请大侠赐教!
文章评论

共有 0 条评论