[Openswan Users] can't compile 2.4.7 with kernel 2.4.34

Dmitry Melekhov dm at belkam.com
Mon Dec 25 06:38:01 EST 2006


I get the same error or compiling module according to readme:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fno-builtin-sprintf -fomit-frame-pointer  -pipe 
-mpreferred-stack-boundary=2 -march=i586  -DMODULE -DIPCOMP_PREFIX 
-nostdinc -iwithprefix include -DKBUILD_BASENAME=pfkey_v2  -c -o 
pfkey_v2.o pfkey_v2.c
pfkey_v2.c:122: unknown field `owner' specified in initializer
pfkey_v2.c:122: warning: initialization makes integer from pointer 
without a cast
pfkey_v2.c:122: initializer element is not computable at load time
pfkey_v2.c:122: (near initialization for `pfkey_family_ops.authentication')
pfkey_v2.c:132: unknown field `owner' specified in initializer
pfkey_v2.c:132: warning: initialization from incompatible pointer type
make[2]: *** [pfkey_v2.o] Ошибка 1
make[2]: Выход из каталог `/usr/src/linux-2.4.34/net/ipsec'
make[1]: *** [_modsubdir_ipsec] Ошибка 2
make[1]: Выход из каталог `/usr/src/linux-2.4.34/net'
make: *** [_mod_net] Ошибка 2

Is kernel 2.4 still supported.

This can be duplicate message :-( - thunderbird died during sending of 
previous message...

More information about the Users mailing list