On Tue, May 5, 2020 at 11:52 PM Huang Qijun <dknightjun@xxxxxxxxx> wrote: > > When compiling netfilter, there will be an error > "No rule to make target 'net/netfilter/xt_TCPMSS.o'", > because the xt_TCPMSS.c in the makefile is uppercase, > and the file name of the source file (xt_tcpmss.c) is lowercase. > Therefore, change the xt_TCPMSS.c name in the makefile to all lowercase. This is what you will get when you compile Linux kernel on a case-insensitive filesystem like MacOS. Please use a case-sensitive one.