[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sys/types.h on Android includes stdint.h before defining time_t

From: Hans-Christoph Steiner
Subject: Re: sys/types.h on Android includes stdint.h before defining time_t
Date: Fri, 27 Jan 2012 08:59:01 -0500

On Jan 27, 2012, at 2:25 AM, Simon Josefsson wrote:

> Hans-Christoph Steiner <address@hidden> writes:
>> On 01/26/2012 03:59 PM, Paul Eggert wrote:
>>> On 01/26/2012 12:14 PM, Hans-Christoph Steiner wrote:
>>>> ./stdint.h:32:3: error: invalid preprocessing directive #@
>>> This looks like some sort of problem in the way the patch
>>> was applied.  Perhaps you need to re-run gnulib-tool,
>>> or ./bootstrap, or ./autogen.sh, or whatever-it-is-with
>>> your package, to re-import the patched gnulib from scratch.
>> hmm, yes, you are right.  I actually ran the whole gnulib install again
>> for gnupg, replacing the 'allocsa' module with 'mallocsa' and it seems
>> to have built. Here's my install command:
>> gnulib-tool --import
>> --dir=/home/hans/code/guardianproject/gnupg-for-android/external/gnupg/
>> --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc
>> --tests-base=tests --aux-dir=scripts --no-conditional-dependencies
>> --no-libtool --macro-prefix=gl alloca-opt malloca mkdtemp setenv strpbrk
>> xsize
>> For the gnulib people, this is only a small subset of gnulib, but at
>> least it might be enough to get gnupg running on Android.
> Great!  I suppose you'll report back what the necessary patches for
> GnuPG were to Werner?  It would be nice to have it build unpatched.

I got past the stdint.h issue with the above update, but now we are figuring 
out pthread for bionic libc and are stuck with that.  But as of now, I'm using 
the plain gnulib straight from git as of commit 



Man has survived hitherto because he was too ignorant to know how to realize 
his wishes.  Now that he can realize them, he must either change them, or 
perish.    -William Carlos Williams

reply via email to

[Prev in Thread] Current Thread [Next in Thread]