[Openswan Users] openswan-2.4.13 and KLIPS

Paul Wouters paul at xelerance.com
Sun Jul 6 17:29:27 EDT 2008


On Sat, 5 Jul 2008, Rick Cooper wrote:

> I am trying to build the klips support for 2.4.13 and run into a problem
> kernel build make modules.
> Kernel is centos 2.6.18-92.1.6.el5.centos.plus-i686
> 
> I installed the openswan-2.4.13.kernel-2.6-natt.patch.gz and that applied
> fine, one item had minor fuzz
> The kernel build goes fine (make dep, make oldconfig, and make bzImage)
> until I get to make modules and the error is:
> 
> In file included from include/openswan/ipsec_param.h:178,
>                  from net/ipsec/ipsec_init.c:30:
> include/linux/ip.h:108: error: expected identifier or '(' before 'const'
> include/linux/ip.h:108: error: expected ')' before '->' token
> In file included from include/linux/ipv6.h:190,
>                  from include/net/protocol.h:29,
>                  from net/ipsec/ipsec_init.c:47:

I am not sure what's causing that, as it seems to be something not
recognised in the system include file. Did you set KERNELSRC= to your
kernel source or headers tree correctly?

Paul


More information about the Users mailing list