Firefly Open Source Community

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

Author: ron    Time: 12/20/2016 20:11
Title: 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. ... 88/Build_android/en  to build kernel.

Anyone had the same problem and could shed some light?

Thanks,
Ron

Author: isle    Time: 12/21/2016 09:19
have you got the latest source code ?
Author: ron    Time: 12/21/2016 09:26
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
Author: ron    Time: 12/21/2016 18:08
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!
Author: isle    Time: 12/22/2016 10:34
hi :
please check whether if this file is exist : net/netfilter/xt_TCPMSS.c
Author: ron    Time: 12/22/2016 14:01
yes, the file  net/netfilter/xt_tcpmss.c exists  (in lower case, but I guess it does not matter)
Author: ron    Time: 12/22/2016 14:21
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?
Author: ron    Time: 12/22/2016 16:21
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
Author: mo123    Time: 12/23/2016 05:16
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.
Author: ron    Time: 12/23/2016 17:15
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





Author: isle    Time: 12/24/2016 09:32
Last edited by isle In 12/24/2016 09:37 Editor

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.
   


Author: ron    Time: 12/24/2016 18:38
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.


Author: fishy15    Time: 3/6/2024 16:51
thanks, i had the same issue






Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1