|
小弟用的是fc6需要用qt进行嵌入式开发,在编译qt-embedded时出现错误
cd qt-2.3.7
export QTDIR=$PWs D
export QTEDIR=$QTDIR
cp /qconfig-local.h ./src/tools
make clean
./configure -xplatform linux-arm-g++ -shared -debug -config local -qvfb -depth 4,8,16,322
make
显示如下错误
kernel/qt.h:23:19: stdio.h: 没有那个文件或目录
In file included from kernel/qt.h:29,
from allmoc.cpp:1:
/wuwei/usr/qt-2.3.7/include/qcstring.h:50:20: string.h: 没有那个文件或目录
In file included from kernel/qt.h:132,
from allmoc.cpp:1:
/wuwei/usr/qt-2.3.7/include/qsharedmemory.h:53:23: sys/types.h: 没有那个文件或目录
/wuwei/usr/qt-2.3.7/include/qsharedmemory.h:54:21: sys/ipc.h: 没有那个文件或目录
In file included from kernel/qt.h:285,
from allmoc.cpp:1:
/wuwei/usr/qt-2.3.7/include/qgfxraster_qws.h:50:20: unistd.h: 没有那个文件或目录
/wuwei/usr/qt-2.3.7/include/qgfxraster_qws.h:51:19: stdio.h: 没有那个文件或目录
/wuwei/usr/qt-2.3.7/include/qgfxraster_qws.h:52:20: stdlib.h: 没有那个文件或目录
/wuwei/usr/qt-2.3.7/include/qgfxraster_qws.h:53:18: math.h: 没有那个文件或目录
make[2]: *** [allmoc.cpp] 错误 1
make[2]: Leaving directory `/wuwei/usr/qt-2.3.7/src'
make[1]: *** [sub-src] 错误 2
make[1]: Leaving directory `/wuwei/usr/qt-2.3.7'
make: *** [init] 错误 2
请问什么原因?谢谢 |
|