[issue36141] configure: error: could not find pthreads on your system during cross compilation
muhzi
report at bugs.python.org
Thu Feb 28 04:57:10 EST 2019
muhzi <air.oamyst517 at yahoo.com> added the comment:
OK! NDK version is 19.1.5304403
Cool, so I uploaded the output of configure (attachments)
Sorry for the confusion about pyconfig.h, what I was trying to say is after providing ac_cv_pthread_is_default=yes to configure I get errors in make:
Python/pytime.c:911:9: error: implicit declaration of function 'pytime_fromtimespec' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pytime_fromtimespec(tp, &ts, raise) < 0) {
^
Python/pytime.c:911:9: note: did you mean 'pytime_fromtimeval'?
Python/pytime.c:336:1: note: 'pytime_fromtimeval' declared here
pytime_fromtimeval(_PyTime_t *tp, struct timeval *tv, int raise)
^
Python/pytime.c:911:9: warning: this function declaration is not a prototype [-Wstrict-prototypes]
if (pytime_fromtimespec(tp, &ts, raise) < 0) {
^
----------
Added file: https://bugs.python.org/file48176/config.log
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36141>
_______________________________________
More information about the Python-bugs-list
mailing list