[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipsec kernel patch 2.4.23



On Mon, 22 Dec 2003 00:27:44 -0000
"Antony Gelberg" <antony@antgel.co.uk> wrote:

> Hi all,
> 
> I'm trying to install freeswan on a woody box with 2.4.23 from
> backports.org.  I apt-got kernel-patch-freeswan, did an export
> PATCH_THE_KERNEL=yes, and a make-kpkg.
> 
> But the patch fails, see below.
> 
> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.23/include -Wall
> -Wstrict-prot otypes -Wno-trigraphs -fno-strict-aliasing -fno-common
> -O2 -fomit-frame-poin ter -pipe -mpreferred-stack-boundary=2
> -march=i686  -Ilibfreeswan -Ilibdes-Wall -Wpointer-arith 
> -Wstrict-prototypes -nostdinc -iwithprefix include
> -DKBUILD_BASENAME=ipsec_init  -c -o ipsec_init.o ipsec_init.c
> ipsec_init.c: In function `ipsec_init': ipsec_init.c:152: too few
> arguments to function `inet_add_protocol' ipsec_init.c:156: too few
> arguments to function `inet_add_protocol' ipsec_init.c: In function
> `ipsec_cleanup': ipsec_init.c:199: too few arguments to function
> `inet_del_protocol' ipsec_init.c:204: too few arguments to function
> `inet_del_protocol'

This is exactly what I got when I tried compiling the freeswan modules
without patching the kernel first. Try calling make-kpkg with the
appropriate --added-patches parameter and see if it succeeds. Chances
are it won't though.

-- 
Got Backup?

Jabber: Shadowdancer at jabber.fsinf.de

Attachment: pgp8PslOV8ve6.pgp
Description: PGP signature


Reply to: