当前位置: 代码迷 >> Android >> NDK下的two-libs例子与zlib,libpng一起编译时出现连接不成功解决方法
  详细解决方案

NDK下的two-libs例子与zlib,libpng一起编译时出现连接不成功解决方法

热度:42   发布时间:2016-05-01 21:51:09.0
NDK下的two-libs例子与zlib,libpng一起编译时出现连接不成功
哪位高手能帮帮我
[email protected] /cygdrive/e/android-ndk-r2-windows-crystax-1/andro
id-ndk-r2-crystax
$ make APP=two-libs
Android NDK: Building for application 'two-libs'
Compile arm : zlib <= apps/two-libs/project/jni/libpng/png.c
SharedLibrary : libzlib.so
out/apps/two-libs//objs/zlib/png.o: In function `png_reset_zstream':
apps/two-libs/project/jni/libpng/png.c:806: undefined reference to `inflateReset
'
out/apps/two-libs//objs/zlib/png.o: In function `png_calculate_crc':
apps/two-libs/project/jni/libpng/png.c:240: undefined reference to `crc32'
out/apps/two-libs//objs/zlib/png.o: In function `png_reset_crc':
apps/two-libs/project/jni/libpng/png.c:214: undefined reference to `crc32'
out/apps/two-libs//objs/zlib/pngpread.o: In function `png_process_IDAT_data':
apps/two-libs/project/jni/libpng/pngpread.c:874: undefined reference to `inflate
'
out/apps/two-libs//objs/zlib/pngpread.o: In function `png_push_read_zTXt':
apps/two-libs/project/jni/libpng/pngpread.c:1405: undefined reference to `inflat
e'
apps/two-libs/project/jni/libpng/pngpread.c:1408: undefined reference to `inflat
eReset'
apps/two-libs/project/jni/libpng/pngpread.c:1466: undefined reference to `inflat
eReset'
apps/two-libs/project/jni/libpng/pngpread.c:1466: undefined reference to `inflat
eReset'
apps/two-libs/project/jni/libpng/pngpread.c:1466: undefined reference to `inflat
eReset'
apps/two-libs/project/jni/libpng/pngpread.c:1466: undefined reference to `inflat
eReset'
out/apps/two-libs//objs/zlib/pngread.o: In function `png_read_destroy':
apps/two-libs/project/jni/libpng/pngread.c:1480: undefined reference to `inflate
End'
out/apps/two-libs//objs/zlib/pngread.o: In function `png_destroy_read_struct':
apps/two-libs/project/jni/libpng/pngread.c:1350: undefined reference to `inflate
End'
out/apps/two-libs//objs/zlib/pngread.o: In function `png_configure_decoder':
apps/two-libs/project/jni/libpng/pngread.c:958: undefined reference to `inflateE
nd'
apps/two-libs/project/jni/libpng/pngread.c:959: undefined reference to `inflateC
opy'
out/apps/two-libs//objs/zlib/pngread.o: In function `png_read_row':
apps/two-libs/project/jni/libpng/pngread.c:769: undefined reference to `inflate'

apps/two-libs/project/jni/libpng/pngread.c:769: undefined reference to `inflate'

out/apps/two-libs//objs/zlib/pngread.o: In function `png_build_index':
apps/two-libs/project/jni/libpng/pngread.c:1034: undefined reference to `inflate
Copy'
out/apps/two-libs//objs/zlib/pngread.o: In function `png_read_init_3':
apps/two-libs/project/jni/libpng/pngread.c:333: undefined reference to `inflateI
nit_'
out/apps/two-libs//objs/zlib/pngread.o: In function `png_create_read_struct_2':
apps/two-libs/project/jni/libpng/pngread.c:164: undefined reference to `inflateI
nit_'
out/apps/two-libs//objs/zlib/pngrutil.o: In function `png_inflate':
apps/two-libs/project/jni/libpng/pngrutil.c:257: undefined reference to `inflate
'
apps/two-libs/project/jni/libpng/pngrutil.c:281: undefined reference to `inflate
Reset'
out/apps/two-libs//objs/zlib/pngrutil.o: In function `png_read_finish_row':
apps/two-libs/project/jni/libpng/pngrutil.c:3185: undefined reference to `inflat
e'
apps/two-libs/project/jni/libpng/pngrutil.c:3185: undefined reference to `inflat
e'
apps/two-libs/project/jni/libpng/pngrutil.c:3214: undefined reference to `inflat
eReset'
out/apps/two-libs//objs/zlib/pngwrite.o: In function `png_write_destroy':
apps/two-libs/project/jni/libpng/pngwrite.c:1126: undefined reference to `deflat
eEnd'
out/apps/two-libs//objs/zlib/pngwrite.o: In function `png_write_flush':
apps/two-libs/project/jni/libpng/pngwrite.c:1000: undefined reference to `deflat
e'
out/apps/two-libs//objs/zlib/pngwutil.o: In function `png_text_compress':
  相关解决方案