When I tried to enable PPP in the Ubuntu machine the following error occurred after menuconfig
and trying to make the kernel:
$ sudo make
make[1]: *** No rule to make target `arch/x86/entry/syscalls/syscall_32.tbl', needed by `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'. Stop.
make: *** [archheaders] Error 2
Ubuntu version linux-headers-4.2.0-27-generic was used.
Please help me to fix it.
This could be a syntax error when using $(PWD)
. Consider changing this:
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
to this:
all:
$(MAKE) -C $(KDIR) M=$(shell pwd) modules
This solved my problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With