OpenWrt Forum Archive

Topic: Squashfs compile problem

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

an error occurs when openwrt tries to compile squashfs.

mksquashfs.c:26: zlib.h: No such file or directory.
make[1]: *** [mksquashfs.o] Error 1

Does anyone have a clue how to solve this problem?

Hi,

an error occurs when openwrt tries to compile squashfs.

mksquashfs.c:26: zlib.h: No such file or directory.
make[1]: *** [mksquashfs.o] Error 1

Does anyone have a clue how to solve this problem?

install zlib
for debian:

apt-get install zlib-bin
apt-get install zlib1g
apt-get install zlib1g-dev

Thank you very much for the quick answere & solution!

The discussion might have continued from here.