Re: Bug for making NETFILTER

From: Anubis
Date: Sat May 08 2004 - 02:07:42 EST


On Wednesday 05 May 2004 19:56, Sam Ravnborg wrote:
> > make[3]: *** No rule to make target `net/ipv4/netfilter/ipt_mark.o',
> > needed by `net/ipv4/netfilter/built-in.o'. Stop.
> > for linux-2.6.5
> Check permissions on the file - or maybe something else went wrong whan
> patching up the kernel src?

Permissions are ok, but filename probably is not: ipt_MARK.c
Anyway I did not patch the kernel but got the full distribution.

I copied ipt_MARK.c to ipt_mark.c and got the following:
CC net/ipv4/netfilter/ipt_mark.o
net/ipv4/netfilter/ipt_mark.c:13:43: linux/netfilter_ipv4/ipt_mark.h: No such
file or directory
net/ipv4/netfilter/ipt_mark.c: In function `match':
net/ipv4/netfilter/ipt_mark.c:30: error: dereferencing pointer to incomplete
type
net/ipv4/netfilter/ipt_mark.c:30: error: dereferencing pointer to incomplete
type
net/ipv4/netfilter/ipt_mark.c:30: error: dereferencing pointer to incomplete
type
net/ipv4/netfilter/ipt_mark.c: In function `checkentry':
net/ipv4/netfilter/ipt_mark.c:40: error: invalid application of `sizeof' to an
incomplete type
make[3]: *** [net/ipv4/netfilter/ipt_mark.o] Error 1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/