serene 0 Posted September 24, 2021 Hi, I built the kernel using these commands: make ARCH=arm64 tinker2_defconfig make ARCH=arm64 rk3399-tinker_board_2.img -j8 I got compile error: /bin/sh: 1: lz4c: not found I checked, I already have lz4c, which is liblz4-1 in Debian. Share this post Link to post Share on other sites
serene 0 Posted September 24, 2021 Update: I found the solution for lz4c, need to install liblz4-tool and libkz4-dev and manually update liblz4 to 1.8.3-1+deb10u1. However, I got these 3 errors. Do they need patches? make[4]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan] Error 2 make[3]: *** [scripts/Makefile.build:484: drivers/net/wireless] Error 2 make[2]: *** [scripts/Makefile.build:484: drivers/net] Error 2 make[1]: *** [Makefile:1036: drivers] Error 2 make: *** [arch/arm64/Makefile:169: kernel.img] Error 2 make: *** Deleting file 'kernel.img' Share this post Link to post Share on other sites
tooz 53 Posted September 27, 2021 hello @serene please try the command: sudo apt-get install liblz4-tool it shall install the patches needed Share this post Link to post Share on other sites