On Wed, 2013-03-06 at 11:20 +0000, David Woodhouse wrote: > > But I was lazy. It was a whole lot easier to just drop OpenSSL in place > for initial testing, instead of building gmp and nettle and gnutls, and > dealing with autohate breakage that I get with them. Nettle tries to > build something and then run it, which doesn't work well when > cross-compiling, and GnuTLS still has that automake brokenness. I've attempted this, but GnuTLS 3.0.28 breaks thus: CC parser_aux.lo parser_aux.c:23:27: fatal error: hash-pjw-bare.h: No such file or directory compilation terminated. make[4]: *** [parser_aux.lo] Error 1 make[4]: Leaving directory `/ssd/git/openconnect/android/gnutls-3.0.28/lib/minitasn1' While 3.1.9 breaks thus: CC multi.lo In file included from ./../../gl/stdint.h:552:0, from /ssd/git/openconnect/android/sysroot/include/nettle/nettle-stdint.h:23, from /ssd/git/openconnect/android/sysroot/include/nettle/nettle-types.h:29, from ./ecc.h:22, from multi.c:13: ./../../gl/stdio.h:543:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' In file included from /opt/android-sdk-linux_x86/android-ndk-r8d//platforms/android-14/arch-arm/usr/include/sys/time.h:33:0, from ./../../gl/sys/time.h:38, from /opt/android-sdk-linux_x86/android-ndk-r8d//platforms/android-14/arch-arm/usr/include/time.h:32, from ./../../gl/time.h:39, from ./../../gl/stdint.h:553, from /ssd/git/openconnect/android/sysroot/include/nettle/nettle-stdint.h:23, from /ssd/git/openconnect/android/sysroot/include/nettle/nettle-types.h:29, from ./ecc.h:22, from multi.c:13: /opt/android-sdk-linux_x86/android-ndk-r8d//platforms/android-14/arch-arm/usr/include/linux/time.h:19:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' In file included from ./../gnutls_int.h:87:0, from ./ecc.h:25, from multi.c:13: ./../system.h: In function 'millisleep': ./../system.h:65:5: error: 'struct timespec' has no member named 'tv_sec' ./../system.h:66:5: error: 'struct timespec' has no member named 'tv_nsec' make[4]: *** [multi.lo] Error 1 make[4]: Leaving directory `/ssd/git/openconnect/android/gnutls-3.1.9/lib/nettle' Nikos? -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6171 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20130306/2c0af536/attachment.bin>