Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

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

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47

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

Posted at 12/20/2016 20:11:14      View:21819 | Replies:12        Print      Only Author   [Copy Link] 1#
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
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 12/21/2016 09:19:20        Only Author  2#
have you got the latest source code ?
Reply

Use props Report

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/21/2016 09:26:33        Only Author  3#
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
Reply

Use props Report

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/21/2016 18:08:32        Only Author  4#
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!
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 12/22/2016 10:34:19        Only Author  5#
hi :
please check whether if this file is exist : net/netfilter/xt_TCPMSS.c
Reply

Use props Report

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/22/2016 14:01:20        Only Author  6#
yes, the file  net/netfilter/xt_tcpmss.c exists  (in lower case, but I guess it does not matter)
Reply

Use props Report

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/22/2016 14:21:40        Only Author  7#
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?
Reply

Use props Report

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/22/2016 16:21:35        Only Author  8#
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
Reply

Use props Report

254

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
254
Posted at 12/23/2016 05:16:29        Only Author  9#
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.
Reply

Use props Report

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/23/2016 17:15:06        Only Author  10#
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




Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list