android log

David Woodhouse dwmw2 at infradead.org
Wed Mar 6 16:57:32 EST 2013


On Wed, 2013-03-06 at 19:40 +0100, Nikos Mavrogiannopoulos wrote:
> As it is now for android, you may only use the version of gnutls in git.

Hm, but it doesn't build from git *either*.

First, autohate aborts because it's missing a ChangeLog file. A purely
cosmetic file which has absolutely no relevance to the build process
whatsoever. Creating an empty file seems sufficient to make it work,
thankfully. But I hate autohell more and more every day...

And then (when configured with --disable-threads --disable-doc
--disable-openssl-compatibility --disable-cxx) it still fails to build:

make[4]: Entering directory `/ssd/git/gnutls/tests/suite'
  CC     libecore_la-ecore_anim.lo
In file included from ecore/src/lib/ecore_anim.c:8:0:
ecore/src/lib/Ecore.h:185:51: error: unknown type name 'fd_set'
ecore/src/lib/Ecore.h:185:68: error: unknown type name 'fd_set'
ecore/src/lib/Ecore.h:185:86: error: unknown type name 'fd_set'
ecore/src/lib/Ecore.h:384:59: error: unknown type name 'Ecore_Select_Function'
make[4]: *** [libecore_la-ecore_anim.lo] Error 1
make[4]: Leaving directory `/ssd/git/gnutls/tests/suite'

It looks like I can prevent it from building the tests just by removing
tests/suite/mini-eagain2.c, so I'll do that...

Finally, I have to explicitly override GNUTLS_LIBS to what I get from
'pkg-config --static', so it includes -lhogweed etc. Even your patch for
static libtool libraries doesn't fix the FOO_LIBS that I get from
pkgconfig. But I've pushed out a set of changes which do at least give
me a statically linked binary.

-- 
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/cea3ffcd/attachment.bin>


More information about the openconnect-devel mailing list