Skip to contentSkip to conversation

Bug for making NETFILTER

DISCUSSION Anubis 2 participants 3 messages May 5, 2004 – May 8, 2004

lore
Share & tools
lore

Anubis

author
#0 lore raw

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

Gnu C                  3.2.2
Gnu make               3.80
binutils               2.13.90.0.18
util-linux             2.11z
mount                  2.11z
module-init-tools      2.4.22
e2fsprogs              1.32
jfsutils               1.1.1
reiserfsprogs          3.6.4
xfsprogs               2.3.5
pcmcia-cs              3.2.4
quota-tools            3.08.
PPP                    2.4.1
nfs-utils              1.0.1
Linux C Library        2.3.1
Dynamic linker (ldd)   2.3.1
Linux C++ Library      5.0.2
Procps                 3.1.6
Net-tools              1.60
Kbd                    1.08
Sh-utils               2.0
Modules Loaded         i810_audio ac97_codec soundcore usb-ohci ehci-hcd 

usbcore sis900 pcmcia_core ide-scsi 3c59x

#1 lore raw
Quoted 3 lines · Anubis

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

It's in my tree.
Check permissions on the file - or maybe something else went wrong whan patching up the kernel src?

Sam

author
#2 lore raw
Quoted 5 lines · Sam Ravnborg
Quoted 3 lines

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