make[2]: *** No rule to make target `net/netfilter/xt_TCPMSS.o', needed by `net/

Got the error shown in title when following the guide http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_android/en to build kernel.

Anyone had the same problem and could shed some light?

Thanks,
Ron

have you got the latest source code ?

isle Posted at 12/21/2016 09:19
have you got the latest source code ?

I did following before compiling:

git reset --hard
git remote add bitbucket https://bitbucket.org/T-Firefly/firefly-rk3288.git
git pull bitbucket master:master

let me know if that is sufficient to get the latest code

will “git pull bitbucket pad:pad” help fixing the issue?

I am using 64 bit Ubuntu 12.04 as indicated in the wiki, and installed successfully all the preretirement packages and ARM cross compiling toolchain.

Could you guys take a look at is there a rule existing for building “net/netfilter/xt_TCPMSS.o” ? Thanks!

hi :
please check whether if this file is exist : net/netfilter/xt_TCPMSS.c

yes, the file net/netfilter/xt_tcpmss.c exists (in lower case, but I guess it does not matter)

I looked at similar source files in the same folder, all of them have corresponding net/netfilter/.xt_****.o.cmd files generated, while net/netfilter/.xt_tcpmss.o.cmd is not generated. Maybe the Makefile or build files are broken in source repo?

Also, above error happens when compiling kernel. When I tried to compile Android, the following error happens:

make: *** No rule to make target kernel/arch/arm/boot/zImage', needed by out/target/product/rk3288/kernel’. Stop.
make: *** Waiting for unfinished jobs…

not sure if it is related

ron Posted at 12/22/2016 16:21
Also, above error happens when compiling kernel. When I tried to compile Android, the following erro …

In kernel folder do
make clean
Then try to compile kernel again.

make clean in kernel folder and compile will still generate the same error when building Android

“make: *** No rule to make target kernel/arch/arm/boot/zImage', needed by out/target/product/rk3288/kernel’. Stop.
make: *** Waiting for unfinished jobs…”

and make clean will generate same error in kernel building

“make[2]: *** No rule to make target net/netfilter/xt_TCPMSS.o', needed by net/netfilter/built-in.o’. Stop.
make[2]: *** Waiting for unfinished jobs…”

No matter how many times “make clean” I did, the errors exist :(:cry:

hi ron,
there are two specified files in this folder : xt_TCPMSS.c & xt_tcpmss.c
And ,the error log prompt that you need check the xt_TCPMSS.c file but not xt_tcpmss.c.

hi isle,

I finally found the root cause… what a bummer. The file system I used(Mac OS) is case insensitive, causing only xt_tcpmss.c checked out.

thanks, i had the same issue

Your article is exceptional, thank you for sharing! The AD0-E605 test tutorial exam is coming up soon – hope I pass with ease!

PrüfungFrage ist eine Website, die Ihnen immer die genauesten und neuesten Materialien zur ISO-45001-Lead-Auditor Zertifizierungsprüfung bieten. Damit Sie sicher für uns entscheiden, können Sie kostenlos Teil der Prüfungsfragen und Antworten im PrüfungFrage Website kostenlos als Probe herunterladen. PrüfungFrage garantieren Ihnen, dass Sie 100% die PECB ISO-45001-Lead-Auditor Zertifizierungsprüfung bestehen können.