Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Couldn't patch 2.6.10 with ipt ROUTE.patch & random.patc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Camp
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 82
Location: Moscow

PostPosted: Tue Jan 18, 2005 2:21 am    Post subject: Couldn't patch 2.6.10 with ipt ROUTE.patch & random.patc Reply with quote

iptables patch-o-matic says that he cant apply this patch
when i'm patching manually (c-file & Kconfig) and configuring kernel ( use ROUTE & random built-in, no modules ), make bzImage shows this stuff
Code:
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  CC      net/ipv4/netfilter/ipt_random.o
net/ipv4/netfilter/ipt_random.c:75: warning: initialization from incompatible pointer type
  CC      net/ipv4/netfilter/ipt_ROUTE.o
net/ipv4/netfilter/ipt_ROUTE.c: In function `route':
net/ipv4/netfilter/ipt_ROUTE.c:54: error: variable `key' has initializer but incomplete type
net/ipv4/netfilter/ipt_ROUTE.c:55: error: unknown field `dst' specified in initializer
net/ipv4/netfilter/ipt_ROUTE.c:55: warning: excess elements in struct initializer
net/ipv4/netfilter/ipt_ROUTE.c:55: warning: (near initialization for `key')
net/ipv4/netfilter/ipt_ROUTE.c:56: error: unknown field `src' specified in initializer
net/ipv4/netfilter/ipt_ROUTE.c:56: warning: excess elements in struct initializer
net/ipv4/netfilter/ipt_ROUTE.c:56: warning: (near initialization for `key')
net/ipv4/netfilter/ipt_ROUTE.c:57: error: unknown field `oif' specified in initializer
net/ipv4/netfilter/ipt_ROUTE.c:57: warning: excess elements in struct initializer
net/ipv4/netfilter/ipt_ROUTE.c:57: warning: (near initialization for `key')
net/ipv4/netfilter/ipt_ROUTE.c:58: error: unknown field `tos' specified in initializer
net/ipv4/netfilter/ipt_ROUTE.c:59: warning: excess elements in struct initializer
net/ipv4/netfilter/ipt_ROUTE.c:59: warning: (near initialization for `key')
net/ipv4/netfilter/ipt_ROUTE.c:54: error: storage size of 'key' isn't known
net/ipv4/netfilter/ipt_ROUTE.c:54: warning: unused variable `key'
net/ipv4/netfilter/ipt_ROUTE.c: In function `ipt_route_target':
net/ipv4/netfilter/ipt_ROUTE.c:264: warning: implicit declaration of function `ip_route_output'
net/ipv4/netfilter/ipt_ROUTE.c: At top level:
net/ipv4/netfilter/ipt_ROUTE.c:349: warning: initialization from incompatible pointer type
net/ipv4/netfilter/ipt_ROUTE.c:349: warning: initialization from incompatible pointer type
make[3]: *** [net/ipv4/netfilter/ipt_ROUTE.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

Can anybody help or give me already patched source ?
_________________
registered Linux user #357267
GENTOO
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum