[GRASS-dev] Grass SVN in Android, display issue

Glynn Clements glynn at gclements.plus.com
Tue Sep 18 06:39:22 PDT 2012


Markus Neteler wrote:

> A few issues are in the library part:
> 
> ls.c: In function 'G_ls_format':
> ls.c:173: error: storage size of 'size' isn't known
> make[3]: *** [OBJ.arm-unknown-linux-androideabi/ls.o] Error 1
> make[3]: Leaving directory `/home/neteler/grass70/lib/gis'
> 
> --> use #ifdef __ANDROID__ ?

If the platform defines TIOCGWINSZ, you'd think that it would define
"struct winsize" somewhere; although it's anyone's guess as to where
(on Linux, it's in <sys/ioctl.h>).

There really needs to be a configure check; failing that, the code
should just be removed.

> /bin/sh: ./test: cannot execute binary file
> make[5]: *** [OBJ.arm-unknown-linux-androideabi/test.tmp] Error 126
> make[5]: Leaving directory `/home/neteler/grass70/lib/vector/diglib'

This should be fixed by r53200.

> Some Makefile issues:
> 
> rm -f /home/neteler/grass70/dist.arm-unknown-linux-androideabi/etc/VERSIONNUMBER
> /usr/bin/install -c  prompt.py
> /home/neteler/grass70/dist.arm-unknown-linux-androideabi/etc/prompt.py
> make[3]: *** No rule to make target
> `/home/neteler/grass70/dist.arm-unknown-linux-androideabi/docs/html/help_loc_struct.png',
> needed by `default'.  Stop.

Try r53206.

> make[4]: *** No rule to make target
> `/home/neteler/grass70/dist.arm-unknown-linux-androideabi/docs/html/grass-dbf.html',
> needed by `db_html'.  Stop.
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory `/home/neteler/grass70/db/drivers/dbf'

This might be fixed by r53206.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list