Firefly Open Source Community

   Login   |   Register   |
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:21925 | Replies:12        Print     [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

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

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

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/22/2016 14:01:20      4#
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      5#
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      6#
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

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

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

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47
Posted at 12/24/2016 18:38:45      8#
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.

Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list