ARM-qtopia-free-src-2.2.0出问题 错误:’ptrdiff_t’不是一个类型名
In file included from ../include/qmap.h:46:0,from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:88:13: 错误: ‘ptrdiff_t’不是一个类型名
../include/qvaluelist.h:164:13: 错误: ‘ptrdiff_t’不是一个类型名
In file included from ../include/qmap.h:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:424:13: 错误: ‘ptrdiff_t’不是一个类型名
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:107:13: 错误: ‘ptrdiff_t’不是一个类型名
../include/qmap.h:223:13: 错误: ‘ptrdiff_t’不是一个类型名
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:604:13: 错误: ‘ptrdiff_t’不是一个类型名
kernel/qapplication_x11.cpp: 在成员函数‘int QApplication::x11ProcessEvent(XEvent*)’中:
kernel/qapplication_x11.cpp:3690:54: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
kernel/qapplication_x11.cpp:3703:54: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
kernel/qapplication_x11.cpp: 在成员函数‘bool QETWidget::translateMouseEvent(const XEvent*)’中:
kernel/qapplication_x11.cpp:4119:30: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
kernel/qapplication_x11.cpp: 在成员函数‘bool QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&, int&, QEvent::Type&, bool)’中:
kernel/qapplication_x11.cpp:5158:8: 警告: 建议显式地使用花括号以避免出现有歧义的‘else’ [-Wparentheses]
kernel/qapplication_x11.cpp:5229:52: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
kernel/qapplication_x11.cpp:5232:52: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
kernel/qapplication_x11.cpp: 在函数‘int isPaintOrScrollDoneEvent(Display*, XEvent*, XPointer)’中:
kernel/qapplication_x11.cpp:5521:34: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
make: *** [.obj/release-shared-mt/qapplication_x11.o] 错误 1
make:正在离开目录 `/usr/yizhi/qtopia-free-2.2.0/dqt/src'
make: *** 错误 2
make:正在离开目录 `/usr/yizhi/qtopia-free-2.2.0/dqt'
* ---------------------------------------------------------------------------
*
* ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
* /usr/yizhi/qtopia-free-2.2.0/qt2/bin/moc
* /usr/yizhi/qtopia-free-2.2.0/qt2/bin/uic
* /usr/yizhi/qtopia-free-2.2.0/qt2/bin/qvfb
* /usr/yizhi/qtopia-free-2.2.0/dqt/bin/lrelease
* /usr/yizhi/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
****************************************************************************** 问了好几天,版主理都不理。。。。怎么在线支持
页:
[1]