[Openswan Users] Users Digest, Vol 48, Issue 3
Chris Patch
chrispatch at intrstar.net
Sun Nov 18 20:45:49 EST 2007
> >
> > [root at soekris openswan-2.4.10rc1]# make kpatch
> > Now performing forward patches
> > make kernelpatch2.6 | tee /usr/src/linux-2.6/openswan.patch | (cd
> > /usr/src/linux-2.6 && patch -p1 -b -z .preipsec --forward
> > --ignore-whitespace )
>
> > net/ipsec/ipsec_xmit.c: In function `ipsec_xmit_encap_bundle':
> > net/ipsec/ipsec_xmit.c:1343: `ixt_e' undeclared (first use in this
> > function)
>
> Actually, just edit openswan-2.4.10rc2/Makefile.inc and add
> -DCONFIG_KLIPS_ALG to KLIPSCOMPILE=
>
> I have done this now, and it will be enabled in 2.4.10 final.
>
> Paul
Ok This fixed it for 2.6.16.56 with openswan2.4.10rc2.
I am trying release openswan 2.4.10 on a monlithic (no modules) 2.6.19.7
kernel.
The reason I do the make npatch and make kpatch is I cannot build a
modular kernel. I need to compile everything into the kernel.
I use this kernel version because it is the first to have via ACE
support for the C7 processor without patches. I am using crypto API for
the C7 AES/SHA support.
KLIPSCOMPILE=-O3 -DCONFIG_KLIPS_ALG is set in Makefile.inc
I am getting the same error as before:
[root at s370dli linux-2.6.19.7]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC net/ipsec/ipsec_xmit.o
net/ipsec/ipsec_xmit.c: In function `ipsec_xmit_encap_bundle':
net/ipsec/ipsec_xmit.c:1343: `ixt_e' undeclared (first use in this
function)
net/ipsec/ipsec_xmit.c:1343: (Each undeclared identifier is reported
only once
net/ipsec/ipsec_xmit.c:1343: for each function it appears in.)
net/ipsec/ipsec_xmit.c:1345: `blocksize' undeclared (first use in this
function)
net/ipsec/ipsec_xmit.c:1354: `ixt_a' undeclared (first use in this
function)
make[2]: *** [net/ipsec/ipsec_xmit.o] Error 1
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2
[root at s370dli linux-2.6.19.7]#
More information about the Users
mailing list