这是我configure的配置选项,./configure -embedded arm -no-webkit -no-gfx-qvfb -release -xplatform qws/l inux-arm-g++ -qt-kbd-tty -qt-kbd-usb -qt-mouse-pc -system-libjpeg -qt-libmng -system-libpng - qt-gif -system-zlib -depths 16,32 -no-cups -make libs -make tools -nomake examples -nomake docs -nomake demo
通过后,进行make命令 出现了以下的错误:
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:51:18: zlib.h: No such file or directory
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp: In function `QByteArray qCompress(const uchar*, int, int)':
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:451: error: `::compress2' has not been declared
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:454: error: `Z_OK' undeclared (first use this function)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:454: error: (Each undeclared identifier is reported only once for each function it appears in.)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:461: error: `Z_MEM_ERROR' undeclared (first use this function)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:465: error: `Z_BUF_ERROR' undeclared (first use this function)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp: In function `QByteArray qUncompress(const uchar*, int)':
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:524: error: `::uncompress' has not been declared
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:528: error: `Z_OK' undeclared (first use this function)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:532: error: `Z_MEM_ERROR' undeclared (first use this function)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:535: error: `Z_BUF_ERROR' undeclared (first use this function)
/root/zyf/qt-e-4.4.3/qt-e-l-4.4.3-arm/src/corelib/tools/qbytearray.cpp:538: error: `Z_DATA_ERROR' undeclared (first use this function)
make[1]: *** [.obj/release-shared-emb-arm/qbytearray.o] 错误 1
make[1]: Leaving directory `/root/zyf/qt-e-4.4.3/build-target/src/corelib'
make: *** [sub-corelib-make_default-ordered] 错误 2
是系统没有zlib库吗?? 如果是的话 还需要自己加哪些库啊???