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

Alexander Hellkuhl openswan at axel-h.de
Wed Jul 27 17:36:15 CEST 2005

All Kernels are from kernel.org
I just downloaded, unpacked and patch them witch openswan-klips.

I don't use special CompilerFlags. Just make menuconfig, make, make modules

I tried it even with #define NET_26 in pfkeyv2.c and got the same error. I
have the same error on two different debian boxes.


-----Original Message-----
From: users-bounces at openswan.org [mailto:users-bounces at openswan.org] On
Behalf Of Paul Wouters
Sent: Mittwoch, 27. Juli 2005 15:49
To: Alexander Hellkuhl
Cc: users at openswan.org
Subject: Re: [Openswan Users] Compiling 2.4.0dr8 Klips ....
Importance: High

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- + openswan-2.4.0.dr6
> Linux- + 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?

Users mailing list
Users at openswan.org

More information about the Users mailing list