[Swan] Problems compiling: ipsec_xmit.c

Michael Schwartzkopff ms at sys4.de
Mon Dec 1 20:26:16 EET 2014


Am Sonntag, 30. November 2014, 14:20:13 schrieb Paul Wouters 🔓:
> On Sun, 30 Nov 2014, Michael Schwartzkopff wrote:
> > I downloaded the latest code from libreswan and wanted to compile KLIPS.
> > On my debian machine I generated all binaries, but installing the dkms
> > kernel module fails. I tracked down the problem to the directory
> > /usr/src/modules/libreswan.> 
> > A make modules in that directory results in:
> >  CC [M]  /usr/src/modules/libreswan/modobj/ipsec_xmit.o
> > 
> > /usr/src/modules/libreswan/modobj/ipsec_xmit.c: In function
> > ‘ipsec_xmit_ipip’: /usr/src/modules/libreswan/modobj/ipsec_xmit.c:1242:3:
> > warning: passing argument 2 of ‘__ip_select_ident’ makes pointer from
> > integer without a cast [enabled by default]
> 
> Looks like a backport of some newer IDENT code. See the
> IP_SELECT_IDENT_NEW macro in ./include/libreswan/ipsec_kversion.h
> You probably just want to #define IP_SELECT_IDENT_NEW for your kernel
> version.

I  added a 

# define IP_SELECT_IDENT_NEW

just behind the block of kernel version checks. But I still get the same 
error. Any ideas?

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/079e1815/attachment.sig>


More information about the Swan mailing list