Skip to content

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

Closed

Description

@toots

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.

Activity

  1. brousch commented on Feb 25, 2014

    @brousch
    Contributor

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

  2. inclement commented on Dec 5, 2015

    @inclement
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions