我有一个qt应用程序项目MyAppSetting在Meego上运行,使用quazip(http://sourceforge.net/projects/quazip/中的一个开源库),
当我尝试运行它时,出现以下警告和错误:
dpkg-shlibdeps: warning: symbol crc32 used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol __aeabi_unwind_cpp_pr1@GCC_3.5 used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol deflateInit2_ used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol adler32 used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol inflateEnd used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol deflate used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol deflateEnd used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol inflateInit2_ used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol inflate used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol get_crc_table used by debian/myappsetting/usr/lib/libquazip.so.1.0.0 found in none of the libraries. dpkg-shlibdeps: warning: 1 other similar warnings have been skipped (use -v to see them all). **dpkg-shlibdeps: failure: no dependency information found for /opt/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libquazip.so.1 (used by debian/myappsetting/opt/MyAppSetting/bin/MyAppSetting). Packaging Error: Command '/opt/QtSDK/Madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2 Error while building project MyAppSetting (target: Harmattan)** When executing build step 'Create Debian Package'
我已经将Harmatton的quazip构建为动态lib libquazip.so.1,由MyAppSetting在pro文件中使用,如下所示:
LIBS += -L/usr/lib -L./ -lquazip
答案 0 :(得分:1)
猜测,看起来libquazip使用了zlib中的符号,但没有链接到zlib本身。
__aeabi_unwind_cpp_pr1@GCC_3.5警告是一个单独的问题,但我发现材料说可以忽略这一点:http://lists.debian.org/debian-arm/2012/06/msg00040.html