[Error] No rule to make target โarch/x86/entry/syscalls/syscall_32.tblโ, needed by โarch/x86/include/generated/uapi/asm/unistd_32.hโ. Stop.
No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
๊ฐ ๋ฌ๋ค๋ฉด????
์๋ฌ ๋ฐ์
๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ ๊ฒฝ์ฐ๊ฐ ์๋ค
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
make[1]: *** [arch/x86/Makefile:217: archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-46-generic'
make: *** [Makefile:7: default] Error 2
์ฝ๊ฒ ํด๊ฒฐํ์. ${PWD} ๊ฒฝ๋ก๊ฐ ๊ผฌ์ฌ์ ๊ทธ๋ฐ๊ฑฐ๋ค
ํด๊ฒฐ!
์ฒซ ๋ฒ์งธ ํฐ๋ฏธ๋์ ๋ค์์ ์
๋ ฅํด์ค๋ค
๋ค์๊ณผ ๊ฐ์ด ์์ ํด์ฃผ์
# Before
$(MAKE) -C $(KDIR) M=$(PWD) modules
# After
$(MAKE) -C $(KDIR) M=$(shell pwd) modules
Leave a comment