[issue44245] Cross-compilation of CPython 3.8 with _socket module using Anddroid NDK fails

2021-12-05 Thread Ladislav Heller
Ladislav Heller added the comment: Tried to cross-compile with an old version of Android NDK. Using the latest NDK it works perfectly. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracke

[issue44245] Cross-compilation of CPython 3.8 with _socket module using Anddroid NDK fails

2021-05-27 Thread Ladislav Heller
New submission from Ladislav Heller : Trying to cross-compile CPython 3.8 using Android NDK toolchain with _socket module enabled. Build fails at: ../Modules/socketmodule.c:6739:5: error: invalid use of undefined type 'struct if_nameindex' for (i = 0; ni[i].if_index != 0 &