|
我使用的工具如下
fedora 3 kernel 2.6.9-1.667
tmake-2.12
qt/e 3.3.4
qt-x11-3.3.5
gcc-3.4
elf-3.2.1
qt-x11-3.3.5编译完成UIC也已经CP
然后
export TMAKEDIR=/home/client/tmake-2.12
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
export PATH=$TMAKEDIR/bin:$PATH
export TMAKEPATH PATH
export QT2DIR=/home/client/qt-x11-free-3.3.5
export QTDIR=QT2DIR
export QTDIR=/home/client/qt-3.3.4
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH LD_LIBRARY_PATH
gcc-3.4 elf-3.2.1路径也已经设好
进入QT/E目录
./configure -embedded arm -shared -no-cups -no-ipv6 -no-gfx-qvfb -qconfig
make
出现错误
tools/qlocale.cpp:59:22: fenv.h: No such file or directory
tools/qlocale.cpp: In function `char* qdtoa(double, int, int, int*, int*, char**, char**)':
tools/qlocale.cpp:5666: error: `fenv_t' undeclared (first use this function)
tools/qlocale.cpp:5666: error: (Each undeclared identifier is reported only once for each function it appears in.)
tools/qlocale.cpp:5666: error: expected `;' before "envp"
tools/qlocale.cpp:5667: error: `envp' undeclared (first use this function)
tools/qlocale.cpp:5667: error: `feholdexcept' undeclared (first use this function)
tools/qlocale.cpp:5680: error: `fesetenv' undeclared (first use this function)
make[2]: *** [.obj/release-shared-emb-arm/qlocale.o] 错误 1
make[2]: Leaving directory `/home/client/qt-3.3.4/src'
make[1]: *** [sub-src] 错误 2
make[1]: Leaving directory `/home/client/qt-3.3.4'
make: *** [init] 错误 2
请问这是什么问题引起的 谢谢帮忙 请解释详细些 我是个菜鸟 |
|