ubuntu编译mksquash_lzma-3.2的错误:undefined reference to `inflateReset

时间:2022-06-01 21:55:12


修改:vi ./squashfs3.2-r2/squashfs-tools/Makefile,加上-lz即可:
unsquashfs: LDLIBS += -lunlzma -lz

同时如果报错:/usr/bin/ld: cannot find -lz
安装库:apt-get install zlib1g-dev:i386