[Openswan Users] 2.6.41 build error

Thomas Geulig geulig at nentec.de
Fri Aug 15 03:03:00 EDT 2014


Hi Neal,

3.4.102 is still building fine for me, I haven't tried 3.4.103 yet.

But I took a loo at the changelog:

commit 509a15a5d6b0cfd3e4e396844615df6335ff4c62
Author: Eric Dumazet <edumazet at google.com>
Date:   Sat Jul 26 08:58:10 2014 +0200

ip: make IP identifiers less predictable

They changed the __ip_select_ident() interfca.

I'll try to come up with a patch.

Thomas

Am 15.08.2014 um 08:05 schrieb Neal Murphy:
> This is for a fresh build of Smoothwall 3.1 RC6.
>
> Building openswan 2.6.41 for linux 3.4.103:
>
> ---------------
> /build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c: In function
> 'ipsec_xmit_ipip':
> /build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:1172:3: warning:
> passing argument 2 of '__ip_select_ident' makes integer from pointer without a
> cast [enabled by default]
> In file included from include/net/tcp.h:42:0,
>                   from
> /build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:46:
> include/net/ip.h:268:6: note: expected 'int' but argument is of type 'struct
> dst_entry *'
> /build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:1172:3: error:
> too many arguments to function '__ip_select_ident'
> In file included from include/net/tcp.h:42:0,
>                   from
> /build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:46:
> include/net/ip.h:268:6: note: declared here
> make[4]: *** [/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.o]
> Error 1
> ---------------
>
> Happens with 'make -j 1' and 'make -j 8'.
>
> It was building OK up to linux 3.4.98. Did something in the kernel change?
>
> Thanks,
> N
> _______________________________________________
> Users at lists.openswan.org
> https://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3969 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openswan.org/pipermail/users/attachments/20140815/5a6b0319/attachment.bin>


More information about the Users mailing list