Simon Josefsson wrote: > I don't have time nor interest to work on fixing this, I was just > curious how far away from building on Android we were.
Any volunteers then? By doing this port, the volunteer can learn a lot about gnulib's mechanisms. > human.c:178: error: 'const struct lconv' has no member named 'decimal_point' > human.c:181: error: 'const struct lconv' has no member named 'decimal_point' > human.c:184: error: 'const struct lconv' has no member named 'grouping' > human.c:185: error: 'const struct lconv' has no member named 'thousands_sep' > human.c:186: error: 'const struct lconv' has no member named 'thousands_sep' > nl_langinfo.c:156: error: 'struct lconv' has no member named 'decimal_point' > nl_langinfo.c:158: error: 'struct lconv' has no member named 'thousands_sep' We don't want to add #ifdef to files such as human.c. Therefore the fix will be to enhance the locale.h override so that it defines #define lconv rpl_lconv and overrides all functions that return a 'struct lconv *' or take a 'struct lconv *' argument. > freadahead.c:41: error: 'FILE' has no member named '_ub' > fflush.c:52: error: 'FILE' has no member named '_ub' > fseeko.c:66: error: 'FILE' has no member named '_ub' This requires inspection of the 'FILE' struct and testing of the test-stdioext tarball that can be built from gnulib as described in <http://lists.gnu.org/archive/html/bug-gnulib/2008-04/msg00134.html>. > grantpt.c:48: error: redefinition of 'grantpt' > mkfifo.c:30: error: redefinition of 'mkfifo' > random.c:156: error: redefinition of 'random' > random.c:166: error: redefinition of 'srandom' > tcgetsid.c:29: error: redefinition of 'tcgetsid' Here apparently gnulib's *.m4 macros have guessed wrong about the presence of these functions. Can you find out why? (Consult config.log and the header files.) Bruno