$(shell uname -r) = 5.10.103-v7+,
This is raspberry pi Zero 2W.
command -> sudo make
console text ->
make -C /usr/src/linux-headers-5.10.103-v7+ M= modules
make[1]: Enter directory '/usr/src/linux-headers-5.10.103-v7+'
make[2]: *** No rule to create required target 'arch/arm/tools/syscall.tbl' in 'arch/arm/include/generated/uapi/asm/unistd-common.h'. stoppage.
make[1]: *** [arch/arm/Makefile:307: archheaders] error 2
make[1]: Exit directory '/usr/src/linux-headers-5.10.103-v7+'
make: *** [Makefile:9: all] error 2
command -> sudo make clean
console text ->
make -C /usr/src/linux-headers-5.10.103-v7+ M= clean
make[1]: Enter directory '/usr/src/linux-headers-5.10.103-v7+'
arch/arm/Makefile:57: *** The recursive 'KBUILD_CFLAGS' variable is (eventually) referencing itself. stoppage.
make[1]: *** [Makefile:1832: _clean_arch/arm] error 2
make[1]: Exit directory '/usr/src/linux-headers-5.10.103-v7+'
Looking at other issues, it seems that the kernel version is 4.x. Should I lower my kernel version?
Please fix the error,,
$(shell uname -r) = 5.10.103-v7+,
This is raspberry pi Zero 2W.
command -> sudo make
console text ->
make -C /usr/src/linux-headers-5.10.103-v7+ M= modules
make[1]: Enter directory '/usr/src/linux-headers-5.10.103-v7+'
make[2]: *** No rule to create required target 'arch/arm/tools/syscall.tbl' in 'arch/arm/include/generated/uapi/asm/unistd-common.h'. stoppage.
make[1]: *** [arch/arm/Makefile:307: archheaders] error 2
make[1]: Exit directory '/usr/src/linux-headers-5.10.103-v7+'
make: *** [Makefile:9: all] error 2
command -> sudo make clean
console text ->
make -C /usr/src/linux-headers-5.10.103-v7+ M= clean
make[1]: Enter directory '/usr/src/linux-headers-5.10.103-v7+'
arch/arm/Makefile:57: *** The recursive 'KBUILD_CFLAGS' variable is (eventually) referencing itself. stoppage.
make[1]: *** [Makefile:1832: _clean_arch/arm] error 2
make[1]: Exit directory '/usr/src/linux-headers-5.10.103-v7+'
Looking at other issues, it seems that the kernel version is 4.x. Should I lower my kernel version?
Please fix the error,,