Pavle
Pavle

Reputation: 23

Android kernel source compile error

When I run command

make -j3

I get this error:

net/netfilter/xt_mark.c:16:37: fatal error: linux/netfilter/xt_mark.h: No such file or directory

How to fix the error.

Upvotes: 0

Views: 1030

Answers (1)

Tsyvarev
Tsyvarev

Reputation: 66118

Error

fatal error: linux/netfilter/xt_mark.h: No such file or directory

normally arises when you build kernel on shared folders or other filesystem which doesn't support links.

Build kernel on local Linux filesystem (ext4, xfs, etc.).

Upvotes: 1

Related Questions