2013年5月31日 星期五

Make mksquash_lzma-3.2出現undefined reference to `inflateReset'錯誤



Make mksquash_lzma-3.2出現底下錯誤




/home/astro/RT288x_SDK/toolchain/mksquash_lzma-3.2/lzma443/C/7zip/Compress/LZMA_C/libunlzma.a(uncomp.o): In function `sqlzma_un':
uncomp.c:(.text+0x58): undefined reference to `inflateReset'
uncomp.c:(.text+0x99): undefined reference to `inflate'
uncomp.c:(.text+0x1a0): undefined reference to `zError'
/home/astro/RT288x_SDK/toolchain/mksquash_lzma-3.2/lzma443/C/7zip/Compress/LZMA_C/libunlzma.a(uncomp.o): In function `sqlzma_init':
uncomp.c:(.text+0x3d3): undefined reference to `inflateInit_'
collect2: ld returned 1 exit status

在mksquash_lzma-3.2/squashfs3.2-r2/squashfs-tools/Makefile
unsquashfs: LDLIBS += -lunlzma後面加上–lz可解決

沒有留言:

張貼留言