Jump to content
serene

Kernel build error (lz4c)

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...