Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm/limits.h: No such file or directory #63

Closed
toots opened this issue Nov 10, 2012 · 2 comments
Closed

arm/limits.h: No such file or directory #63

toots opened this issue Nov 10, 2012 · 2 comments

Comments

@toots
Copy link

toots commented Nov 10, 2012

Hi,

I'm trying to build a standard distribution on OSX 10.6.8 and end up with various build errors. The first one to appear is:

arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /Users/toots/sources/android-ndk-r8b/platforms/android-14/arch-arm -fno-strict-aliasing -mandroid -fomit-frame-pointer --sysroot /Users/toots/sources/android-ndk-r8b/platforms/android-14/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/Users/toots/sources/python-for-android/build/python/Python-2.7.2/Include -I/Users/toots/sources/python-for-android/build/python/Python-2.7.2 -c /Users/toots/sources/python-for-android/build/python/Python-2.7.2/Modules/_sqlite/cache.c -o build/temp.macosx-10.4-x86_64-2.7/Users/toots/sources/python-for-android/build/python/Python-2.7.2/Modules/_sqlite/cache.o
/usr/bin/install -c -m 644 ./Include/modsupport.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/moduleobject.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/node.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/object.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/objimpl.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/opcode.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/osdefs.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/parsetok.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
/usr/bin/install -c -m 644 ./Include/patchlevel.h /Users/toots/sources/python-for-android/build/python-install/include/python2.7
In file included from /usr/include/limits.h:64,
                 from Include/Python.h:19,
                 from /Users/toots/sources/python-for-android/build/python/Python-2.7.2/Modules/_sqlite/sqlitecompat.h:24,
                 from /Users/toots/sources/python-for-android/build/python/Python-2.7.2/Modules/_sqlite/cache.c:24:
/usr/include/machine/limits.h:10:24: error: arm/limits.h: No such file or directory

Relevant ENV variables:

ANDROIDSDK=/Users/toots/sources/android-sdk-macosx
ANDROIDNDK=/Users/toots/sources/android-ndk-r8b
ANDROIDNDKVER=r8b
ANDROIDAPI=14

I have also tried with android NDK version r7c and got the exact same error.

@brousch
Copy link
Contributor

brousch commented Feb 25, 2014

@toots Is this still not working for you? could you try with the current tools?

@inclement
Copy link
Member

Closing as probably fixed by the many changes since 2012.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants