The following error occurred when compiling the kernel:
make: *** No rule to make target 'net/ipv4/netfilter/ipt_ecn.c', needed by 'net/ipv4/netfilter/ipt_ecn.o' make: *** [net/ipv4/netfilter] Error 2 make: *** [net/ipv4] Error 2 make: *** [net] Error 2
The main reason is that this linux kernel code is decompressed under Windows (you also need a copy for easy reference on Windows), but there are some files (such as
ipt_ecn.c, etc.) in both upper and lower case. When decompressing on Windows Because they are not case-sensitive, they overwrite each other, resulting in missing files.
Just decompress your source code again and compile it. When decompressing under Windows, you will be prompted whether the same files need to be processed. Select No for all.