bug-gnulib
[Top][All Lists]
Advanced

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

Android porting results


From: Simon Josefsson
Subject: Android porting results
Date: Mon, 23 Jan 2012 17:01:20 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

What follows below is the output of running 'make -k' in a gllib/ of a
gnulib package generated similar to this:

./gnulib-tool --create-testdir --dir m --with-tests
cd m
./configure CC="arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm" 
--host=arm-linux-androideabi --build=i686-pc-linux-gnu

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.

/Simon

address@hidden:~/dummy-0/gllib$ make -k
make  all-recursive
make[1]: Entering directory `/home/jas/dummy-0/gllib'
make[2]: Entering directory `/home/jas/dummy-0/gllib'
depbase=`echo freadahead.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT 
freadahead.o -MD -MP -MF $depbase.Tpo -c -o freadahead.o freadahead.c &&\
        mv -f $depbase.Tpo $depbase.Po
freadahead.c: In function 'freadahead':
freadahead.c:41: error: 'FILE' has no member named '_ub'
make[2]: *** [freadahead.o] Error 1
depbase=`echo human.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT human.o 
-MD -MP -MF $depbase.Tpo -c -o human.o human.c &&\
        mv -f $depbase.Tpo $depbase.Po
human.c: In function 'human_readable':
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'
make[2]: *** [human.o] Error 1
depbase=`echo fflush.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT fflush.o 
-MD -MP -MF $depbase.Tpo -c -o fflush.o fflush.c &&\
        mv -f $depbase.Tpo $depbase.Po
fflush.c: In function 'clear_ungetc_buffer':
fflush.c:52: error: 'FILE' has no member named '_ub'
make[2]: *** [fflush.o] Error 1
depbase=`echo fseeko.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT fseeko.o 
-MD -MP -MF $depbase.Tpo -c -o fseeko.o fseeko.c &&\
        mv -f $depbase.Tpo $depbase.Po
fseeko.c: In function 'rpl_fseeko':
fseeko.c:66: error: 'FILE' has no member named '_ub'
make[2]: *** [fseeko.o] Error 1
depbase=`echo grantpt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT grantpt.o 
-MD -MP -MF $depbase.Tpo -c -o grantpt.o grantpt.c &&\
        mv -f $depbase.Tpo $depbase.Po
grantpt.c:48: error: redefinition of 'grantpt'
/home/jas/android-ndk-r7/platforms/android-14/arch-arm/usr/include/stdlib.h:139:
 note: previous definition of 'grantpt' was here
make[2]: *** [grantpt.o] Error 1
depbase=`echo mkfifo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT mkfifo.o 
-MD -MP -MF $depbase.Tpo -c -o mkfifo.o mkfifo.c &&\
        mv -f $depbase.Tpo $depbase.Po
mkfifo.c:30: error: redefinition of 'mkfifo'
/home/jas/android-ndk-r7/platforms/android-14/arch-arm/usr/include/sys/stat.h:95:
 note: previous definition of 'mkfifo' was here
make[2]: *** [mkfifo.o] Error 1
depbase=`echo nl_langinfo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT 
nl_langinfo.o -MD -MP -MF $depbase.Tpo -c -o nl_langinfo.o nl_langinfo.c &&\
        mv -f $depbase.Tpo $depbase.Po
nl_langinfo.c: In function 'nl_langinfo':
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'
make[2]: *** [nl_langinfo.o] Error 1
depbase=`echo random.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT random.o 
-MD -MP -MF $depbase.Tpo -c -o random.o random.c &&\
        mv -f $depbase.Tpo $depbase.Po
random.c:156: error: redefinition of 'random'
/home/jas/android-ndk-r7/platforms/android-14/arch-arm/usr/include/stdlib.h:123:
 note: previous definition of 'random' was here
random.c:166: error: redefinition of 'srandom'
/home/jas/android-ndk-r7/platforms/android-14/arch-arm/usr/include/stdlib.h:127:
 note: previous definition of 'srandom' was here
make[2]: *** [random.o] Error 1
depbase=`echo tcgetsid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        arm-linux-androideabi-gcc --sysroot 
/home/jas/android-ndk-r7/platforms/android-14/arch-arm -std=gnu99 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. 
 -DGNULIB_STRICT_CHECKING=1 -I../intl  -fvisibility=hidden -g -O2 -MT 
tcgetsid.o -MD -MP -MF $depbase.Tpo -c -o tcgetsid.o tcgetsid.c &&\
        mv -f $depbase.Tpo $depbase.Po
tcgetsid.c:29: error: redefinition of 'tcgetsid'
/home/jas/android-ndk-r7/platforms/android-14/arch-arm/usr/include/termios.h:69:
 note: previous definition of 'tcgetsid' was here
make[2]: *** [tcgetsid.o] Error 1
make[2]: Target `all-am' not remade because of errors.
make[2]: Leaving directory `/home/jas/dummy-0/gllib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jas/dummy-0/gllib'
make: *** [all] Error 2
address@hidden:~/dummy-0/gllib$ 



reply via email to

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