[Openswan Users] openswan-2.4.13 and KLIPS
Rick Cooper
rcooper at dwford.com
Sun Jul 6 20:51:03 EDT 2008
> -----Original Message-----
> From: Paul Wouters [mailto:paul at xelerance.com]
> Sent: Sunday, July 06, 2008 5:29 PM
> To: Rick Cooper
> Cc: OpenSwan Users
> Subject: Re: [Openswan Users] openswan-2.4.13 and KLIPS
>
> 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?
>
No, I was building the kernel after applying the 2.4.13 klips patch, I
mistakenly refered to the natt patch above and corrected myself in a
subsquent message sorry about that. These errors occure when I build the
kernel during make modules
Rick
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Users
mailing list