[Swan] New error compiling the KLIPS kernel module
Michael Schwartzkopff
ms at sys4.de
Mon Dec 1 17:57:13 EET 2014
Hi,
after resolving the problem from yesterday (Thanks Paul!) I stumbled on the
next problem:
dpkg -i libreswan-moduls-dkms show the following error in the log file:
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
make -C /usr/src/linux-headers-3.2.0-4-amd64 \
KBUILD_SRC=/usr/src/linux-headers-3.2.0-4-common \
KBUILD_EXTMOD="/var/lib/dkms/libreswan/3.12/build/modobj" -f
/usr/src/linux-headers-3.2.0-4-common/Makefile \
modules
ln -s -f /var/lib/dkms/libreswan/3.12/build/linux/net/ipsec/ipsec_init.c
/var/lib/dkms/libreswan/3.12/build/modobj/ipsec_init.c
CC [M] /var/lib/dkms/libreswan/3.12/build/modobj/ipsec_init.o
In file included from
/var/lib/dkms/libreswan/3.12/build/linux/include/libreswan/ipsec_kversion.h:285:0,
from
/var/lib/dkms/libreswan/3.12/build/linux/include/libreswan/ipsec_param.h:34,
from
/var/lib/dkms/libreswan/3.12/build/modobj/ipsec_init.c:30:
/usr/src/linux-headers-3.2.0-4-common/include/linux/ip.h:85:1: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘struct’
In file included from
/var/lib/dkms/libreswan/3.12/build/modobj/ipsec_init.c:51:0:
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h: In function
‘ip_hdrlen’:
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:49:20: error: ‘struct
iphdr’ has no member named ‘ihl’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h: In function
‘ip_is_fragment’:
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:242:13: error: ‘const
struct iphdr’ has no member named ‘frag_off’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h: In function
‘ip_decrease_ttl’:
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:253:30: error: ‘struct
iphdr’ has no member named ‘check’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:255:5: error: ‘struct
iphdr’ has no member named ‘check’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:256:14: error: ‘struct
iphdr’ has no member named ‘ttl’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h: In function
‘ip_select_ident_segs’:
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:275:10: error: ‘struct
iphdr’ has no member named ‘frag_off’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:282:7: error: ‘struct
iphdr’ has no member named ‘id’
/usr/src/linux-headers-3.2.0-4-common/include/net/ip.h:285:7: error: ‘struct
iphdr’ has no member named ‘id’
make[5]: *** [/var/lib/dkms/libreswan/3.12/build/modobj/ipsec_init.o] Error 1
make[4]: *** [_module_/var/lib/dkms/libreswan/3.12/build/modobj] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/var/lib/dkms/libreswan/3.12/build'
make: *** [module] Error 2
make: Leaving directory `/var/lib/dkms/libreswan/3.12/build'
Any ideas where to search the error? Thanks.
Mit freundlichen Grüßen,
Michael Schwartzkopff
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20141201/418d95e0/attachment.sig>
More information about the Swan
mailing list