[Openswan Users] compile error with 2.6.24rc3

Paul Wouters paul at xelerance.com
Tue Dec 22 22:46:14 EST 2009


On Tue, 22 Dec 2009, Murat Sezgin wrote:

> 
> I was trying to run the openswan 2.6.18 version on our openwrt router. I was trying to connect it from a NAT'd
> client. I spent a few days on this and then I saw that this version has a bug on this feature. I had already
> tried it on my linux machine but the result was the same. Today I saw that the 2.6.24rc3 version has fixed this
> issue. I downloaded it. Before porting it to openwrt, I wanted to compile and run it on my linux machine, but I
> get the following build error.
> 
> /usr/src/openswan-2.6.24rc3/programs/pluto/kernel_netlink.c: In function ‘netlink_add_sa’:
> /usr/src/openswan-2.6.24rc3/programs/pluto/kernel_netlink.c:732: error: storage size of ‘algo’ isn’t known
> /usr/src/openswan-2.6.24rc3/programs/pluto/kernel_netlink.c:738: error: ‘XFRMA_ALG_AEAD’ undeclared (first use in
> this function)
> /usr/src/openswan-2.6.24rc3/programs/pluto/kernel_netlink.c:738: error: (Each undeclared identifier is reported
> only once

> How can I get rid of this build error? I am using Ubuntu 8.04.

I am not sure. I don't see this error on Fedora 12. I'll try and compile it
on some ubuntu machine and get back to this.

Paul


More information about the Users mailing list