Skip to content

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

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

Closed
thopiekar opened this issue Jul 24, 2015 · 3 comments
Closed

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

thopiekar opened this issue Jul 24, 2015 · 3 comments

Comments

@thopiekar
Copy link
Contributor

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...

@inclement
Copy link
Member

I hadn't noticed this before, but it seems this is already reported at #261 , so I'll close this one.

One suggestion seems to be that using a newer python version fixes things. Maybe in the meantime we can do a simple patch.

@dl1ksv
Copy link
Contributor

dl1ksv commented Jul 25, 2015

You'll find a ( temporary ) solution at

#410

@thopiekar
Copy link
Contributor Author

Thanks, @dl1ksv !

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