Skip to content

PLATFORM > 19: there is no sys/timeb.h #419

Closed
@thopiekar

Description

@thopiekar

Just tested python-for-android with higher platform versions and noticed that on versions >19 :

ccache arm-linux-androideabi-gcc -DANDROID -mandroid  -fomit-frame-pointer --sysroot /home/thopiekar/.android-tools/android-ndk//platforms/android-21/arch-arm -fno-strict-aliasing -DANDROID -mandroid  -fomit-frame-pointer --sysroot /home/thopiekar/.android-tools/android-ndk//platforms/android-21/arch-arm -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/datetimemodule.c -o Modules/datetimemodule.o
ccache arm-linux-androideabi-gcc -DANDROID -mandroid  -fomit-frame-pointer --sysroot /home/thopiekar/.android-tools/android-ndk//platforms/android-21/arch-arm -fno-strict-aliasing -DANDROID -mandroid  -fomit-frame-pointer --sysroot /home/thopiekar/.android-tools/android-ndk//platforms/android-21/arch-arm -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/_bisectmodule.c -o Modules/_bisectmodule.o
./Modules/timemodule.c:31:23: fatal error: sys/timeb.h: No such file or directory
 #include <sys/timeb.h>
                       ^
compilation terminated.
Makefile:1318: recipe for target 'Modules/timemodule.o' failed
make: *** [Modules/timemodule.o] Error 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …

PS: A similar problem on firefox-for-android: https://bugzilla.mozilla.org/show_bug.cgi?id=1092023.
Looks like our py2.7 is outdated...

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