sbakki 0 Posted September 4, 2022 Hi, am a newbie to tinker devices. I have tinker 2 with debian 11. I need to recompile the kernel with some additional settings. I cloned kernel sources from https://github.com/TinkerBoard/debian_kernel did 'make menuconfig' with a running config from /proc/config.gz. And then 'make'. It fails to build: CC arch/arm64/kernel/psci.o arch/arm64/kernel/vdso.c: In function ‘vdso_init’: arch/arm64/kernel/vdso.c:119:6: warning: ‘memcmp’ reading 4 bytes from a region of size 1 [-Wstringop-overflow=] error, forbidden warning: vdso.c:119 make[1]: *** [scripts/Makefile.build:277: arch/arm64/kernel/vdso.o] Error 1 make[1]: *** Waiting for unfinished jobs.... CC arch/arm64/crypto/aes-ce-ccm-glue.o make: *** [Makefile:1028: arch/arm64/kernel] Error 2 make: *** Waiting for unfinished jobs.... Are these sources right for debian 11 ? Are there any patches for this fix ? Any help please ? Share this post Link to post Share on other sites
tooz 52 Posted September 7, 2022 hello @sbakki, the variance for 'make' is missing here, should be: make ARCH=arm64 rk3399-tinker_board_2.img -j8 Share this post Link to post Share on other sites