configure no reconoce androideabi


Estoy tratando de compilar una biblioteca usando android-ndk-r5 standalone toolchain y autotools. Al hacer una ./ configure, falla con:

$ ./configure --host=arm-linux-androideabi
...snip...
checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
configure: error: /bin/sh ./config.sub arm-linux-androideabi failed

Establecer explícitamente CC y CXX tampoco funciona (configure dice usar host host).

Los documentos de NDK y varios materiales en línea parecen indicar que el uso de la cadena de herramientas independiente de esta manera debería ser posible. ¿Qué pasa aquí? y ¿cómo puedo resolverlo? (además de simplemente zanjar autoconf y volver a Android.mk)

Author: RzR, 2011-01-04

3 answers

Es posible que necesite un nuevo config.sub y config.guess, 2010-05-20 o posterior.

 32
Author: Peter Eisentraut,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2011-01-04 20:03:30

Puede obtener los nuevos config.sub y config.guess de aquí

Tomé lo más nuevo de ambos, pero eso llevó a errores, así que tomé los mencionados de la fecha de Peter Eisentraut.

 14
Author: Peterdk,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2011-12-22 12:25:36

También puedes tomar config.sub y config.guess del paquete Ubuntu autotools-dev:

sudo apt-get install autotools-dev
cp /usr/share/misc/config.{sub,guess} .
 8
Author: Ben Challenor,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-08-03 12:49:29