[Openswan Users] Compiling 2.4.0dr8 Klips ....

Paul Wouters paul at xelerance.com
Wed Jul 27 16:48:56 CEST 2005


On Wed, 27 Jul 2005, Alexander Hellkuhl wrote:

> Everytime when I want to compile Kernel 2.6 with Klips it stops with this
> error.
>
> net/built-in.o: In function `pfkey_create':
> : undefined reference to `pfkey_ops'
>
> I tried it with
>
> Linux-2.6.12   + openswan-2.4.0.dr3
> Linux-2.6.12.3 + openswan-2.4.0.dr6
> Linux-2.6.12.3 + openswan-2.4.0.dr8

Are these kernels unpatched kernels from Linus? Or are these source trees
of linux vendors?

> It doesn't matter if I compile as modules or built in to the Kernel.
> I use a Debian testing/unstable with gcc-3.3 and gcc-4.0.
> Does anybody know where is pfkey_ops defined?

See linux/net/ipsec/pfkeyv2.c
It seems you might not have NET_26 set but NET_21? Are you doing something
special with compile flags or options?

Paul


More information about the Users mailing list