关于之前报出的如下错误,小弟去网上下载了一个page.h文件并放入/usr/include/asm/下面,但是不知道对不对?
g++ -c -I/home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/include -pipe -O2 -Wall -W -DNO_DEBUG -I/home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/src/3rdparty/libpng -o qvfbview.o qvfbview.cpp
qvfbview.cpp:39:22: 错误:asm/page.h:没有那个文件或目录
In file included from qvfbview.cpp:27:
/home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/include/qimage.h: In member function ‘int QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/include/qimage.h:58: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
qvfbview.cpp: In constructor ‘QVFbView::QVFbView(int, int, int, int, QVFbView::Rotation, bool, QWidget*, const char*, uint)’:
qvfbview.cpp:138: 错误:‘PAGE_SIZE’在此作用域中尚未声明
make[1]: *** [qvfbview.o] 错误 1
make[1]: Leaving directory `/home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/tools/qvfb'
* ---------------------------------------------------------------------------
*
* 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:
* /home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/bin/moc
* /home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/bin/uic
* /home/jjyang/qtopia/src/qtopia-free-2.2.0/qt2/bin/qvfb
* /home/jjyang/qtopia/src/qtopia-free-2.2.0/dqt/bin/lrelease
* /home/jjyang/qtopia/src/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************