FIX ME! implement ttyname() bionic/libc/bionic/stubs.c:360
    Werner Koch 
    wk at gnupg.org
       
    Wed Feb  1 14:18:52 CET 2012
    
    
  
Hi,
please try this patch:
diff --git a/configure.ac b/configure.ac
index f008d23..47c6d12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -490,6 +490,13 @@ AH_BOTTOM([
 # endif
 #endif
 
+/* Hacks required for Android.  */
+#ifdef __ANDROID__
+  /* ttyname is a stub in BIONIC, printing a FIXME warning.  */
+# define ttyname broken_native_ttyname
+# undef HAVE_TTYNAME
+#endif /*__ANDROID__*/
+
 
 /* Tell libgcrypt not to use its own libgpg-error implementation. */
 #define USE_LIBGPG_ERROR 1
Salam-Shalom,
   Werner
-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
    
    
More information about the Gnupg-devel
mailing list