[Openswan Users] can't compile 2.4.7 with kernel 2.4.34

Paul Wouters paul at xelerance.com
Mon Dec 25 10:10:13 EST 2006

On Mon, 25 Dec 2006, Dmitry Melekhov wrote:

> I get the same error or compiling module according to readme:
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fno-builtin-sprintf -fomit-frame-pointer  -pipe
> -mpreferred-stack-boundary=2 -march=i586  -DMODULE -DIPCOMP_PREFIX
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=pfkey_v2  -c -o
> pfkey_v2.o pfkey_v2.c
> pfkey_v2.c:122: unknown field `owner' specified in initializer

Just delete that line, or use the latest CVS snapshot.


More information about the Users mailing list