Re: kernel-4.9.94 compile error: 'KMOD_DECOMP_LEN' undeclared

From: Teck Choon Giam
Date: Sat Apr 28 2018 - 07:54:50 EST


>> It still fails in 4.9.96. (not #defined there)
>
> Should be fixed in 4.9.97-r1, I know .96 still had the issue.
>

Test compiled without issue for 4.9.97-rc1:

wget https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/snapshot/linux-stable-rc-linux-4.9.y.tar.gz
tar zxvfp linux-stable-rc-linux-4.9.y.tar.gz
cd linux-stable-rc-linux-4.9.y/
make mrproper
cp -pvf ~/config-x86_64 .config
make oldconfig
make bzImage
make V=1 -j 2 modules
make -C tools/perf V=1 HAVE_CPLUS_DEMANGLE=1 NO_DWARF=1 WERROR=0

Thanks Greg.

Regards,
Giam Teck Choon