[Openswan Users] installation in kernel 2.4.33.3 - pfkey_v2 error

caio elcaio at gmail.com
Sat Oct 28 14:23:10 EDT 2006


i download the 2.4.7rc2 version and tried to install it in a linux
kernel v.2.4.33.3.

i follow these steps:

Nat-t patch:
# make nattpatch | (cd /usr/src/linux-2.4.33.3 && patch -p1)
Klips patch:
#make kernelpatch | (cd /usr/src/linux-2.4.33.3 && patch -p1)

Then in the linux src tree:
# make dep && make bzImage

Change again to openswan dir and:

# make KERNELSRC=/usr/src/linux-2.4.33.3 programs module

Finding these errors:

/usr/src/openswan-2.4.7rc2/linux/net/ipsec/pfkey_v2.c:122: error:
unknown field `owner' specified in initializer
/usr/src/openswan-2.4.7rc2/linux/net/ipsec/pfkey_v2.c:122: warning:
initialization makes integer from pointer without a cast
/usr/src/openswan-2.4.7rc2/linux/net/ipsec/pfkey_v2.c:122: error:
initializer element is not computable at load time
/usr/src/openswan-2.4.7rc2/linux/net/ipsec/pfkey_v2.c:122: error:
(near initialization for `pfkey_family_ops.authentication')
/usr/src/openswan-2.4.7rc2/linux/net/ipsec/pfkey_v2.c:132: error:
unknown field `owner' specified in initializer
/usr/src/openswan-2.4.7rc2/linux/net/ipsec/pfkey_v2.c:132: warning:
initialization from incompatible pointer type

Could any one install this same version in a 2.4.33 kernel?

Tks your comments...

-- 
-= caio =-


More information about the Users mailing list