[Openswan Users] ??? openswan-2.4.2dr4 and monolitic kernel 2.4.28

Paul Wouters paul at xelerance.com
Wed Oct 26 19:08:34 CEST 2005


On Wed, 26 Oct 2005, ????????????? wrote:

> > Did you enable "IPsec Modular Extensions" (CONFIG_KLIPS_ALG) on a non-modular
> > kernel? That won't work obviously. I'll see about making the error more
> > intuitive though.
>
> > Paul
>
> Thank you for answer!
>
> I disable "IPsec Modular Extensions" (CONFIG_KLIPS_ALG):
>
> $cat /usr/src/linux/.config
> -skip-
> CONFIG_IPSEC_NAT_TRAVERSAL=y
> CONFIG_KLIPS=y
> CONFIG_KLIPS_IPIP=y
> CONFIG_KLIPS_AH=y
> CONFIG_KLIPS_ESP=y
> CONFIG_KLIPS_ENC_3DES=y
> CONFIG_KLIPS_ENC_AES=y
> CONFIG_KLIPS_AUTH_HMAC_MD5=y
> CONFIG_KLIPS_AUTH_HMAC_SHA1=y
> # CONFIG_KLIPS_ALG is not set
> CONFIG_KLIPS_IPCOMP=y
> CONFIG_KLIPS_DEBUG=y
> -skip-
>
> $make bzImage

Did you run make clean and make dep before this?

> ipsec_sa.c: In function `ipsec_sa_init':
> ipsec_sa.c:1268: error: `ixt_e' undeclared (first use in this function)
> ipsec_sa.c:1268: error: (Each undeclared identifier is reported only once
> ipsec_sa.c:1268: error: for each function it appears in.)
> make[2]: *** [ipsec_sa.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.28/net/ipsec'
> make[1]: *** [_subdir_ipsec] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.28/net'
> make: *** [_dir_net] Error 2
> :(
>
> In ipsec_sa.c:1043:
> --------------------
> #if defined CONFIG_KLIPS_ALG
>         struct ipsec_alg_enc *ixt_e = NULL;
>         struct ipsec_alg_auth *ixt_a = NULL;
> #endif
> --------------------

I see. I'll try and fix this and put out another 2.4.2dr release with this
fix today.

Paul


More information about the Users mailing list