Error compile kernel 2.6.11.7 w/ pptp_conntrack_nat
Thanks Jiri for the help.
I first applied the pptp_conntrack patch.
I tried to apply the ctnetlink patch and get "ERROR (5 rejects out of 48 hunks)". I went ahead and forced the patch and got this error when compiling the kernel:
CC net/ipv4/netfilter/ip_conntrack_core.onet/ipv4/netfilter/ip_conntrack_core.c: In function `__ip_conntrack_hash_insert':net/ipv4/netfilter/ip_conntrack_core.c:355: error: `ip_conntrack_next_id' undeclared (first use in this function) net/ipv4/netfilter/ip_conntrack_core.c:355: error: (Each undeclared identifier is reported only once net/ipv4/netfilter/ip_conntrack_core.c:355: error: for each function it appears in.)
make[3]: *** [net/ipv4/netfilter/ip_conntrack_core.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
I am just at a lost. Any help will be great.
Thanks,
~Derrick
------ Original Message ------
From: Jiri Slaby <[email protected]>
Date: Thursday, August 11th, 2005 10:08 AM PDT
To: Derrick Sawyer <[email protected]>
Subject: Re: Error compile kernel 2.6.11.7 w/ pptp_conntrack_nat
Derrick Sawyer napsal(a):
Quoted 8 lines
Hi all,
I am getting this error when compiling kernel 2.6.11.7 with pptp patch-o-matic patch:
LD .tmp_vmlinux1
net/built-in.o(.text+0x68bce): In function `timeout_ct_or_exp':
: undefined reference to `__ip_conntrack_expect_find'
make: *** [.tmp_vmlinux1] Error 1
In this kernel __ip_conntrack_expect_find isn't implemented, apply ctnetlink patch and compile again. Despite, there is a bug, I think there should be
select IP_NF_CONNTRACK_NETLINK
in Kconfig if it uses it.
Derrick Sawyer napsal(a):
Quoted 2 lines
I first applied the
pptp_conntrackpatch.
I tried to apply the ctnetlink patch and get "ERROR (5 rejects out of 48 hunks)". I went ahead and forced the patch and got this error when
Hm, the best way is probably to download some latest kernel (i have 2.6.13-rc5 and there are the functions used by pptp) and apply pptp patch there. It is probable, that if there are errors with hunks (pptp and ctnetlink could overlap), it'll not work. One thing went on my mind, you could try combinediff tool, but i haven't tried it, so I don't know if it really does, what I mean.
Quoted 10 lines
compiling the kernel:
CCnet/ipv4/netfilter/ip_conntrack_core.onet/ipv4/netfilter/ip_conntrack_core.c: In function `__ip_conntrack_hash_insert':net/ipv4/netfilter/ip_conntrack_core.c:355: error: `ip_conntrack_next_id' undeclared (first use in this function)net/ipv4/netfilter/ip_conntrack_core.c:355: error: (Each undeclared identifier is reported only oncenet/ipv4/netfilter/ip_conntrack_core.c:355: error: for each function it appears in.)
make[3]: *** [net/ipv4/netfilter/ip_conntrack_core.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10