#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
/home/user/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include/pyport.h:601:2: error: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." ^ /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/start.c:17:10: fatal error: 'bootstrap_name.h' file not found #include "bootstrap_name.h" ^~~~~~~~~~~~~~~~~~ 2 errors generated. make: *** [/home/user/.android/android-ndk/build/core/build-binary.mk:422: /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main/start.o] Error 1
STDERR:
Traceback (most recent call last):
File "/home/user/app/testapps/setup_vispy.py", line 22, in
RAN: /home/user/.android/android-ndk/ndk-build V=1 NDK_DEBUG=1
STDOUT:
Android NDK: Found platform level in /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/project.properties. Setting APP_PLATFORM to android-27.
Android NDK: WARNING:/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/Android.mk:main: non-system libraries in linker flags: -lpython3.11
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
/home/user/.android/android-ndk/build/core/build-binary.mk:586: Android NDK: Module main depends on undefined modules: python_shared
Android NDK: WARNING:/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/Android.mk:main: non-system libraries in linker flags: -lpython3.11
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
/home/user/.android/android-ndk/build/core/build-binary.mk:586: Android NDK: Module main depends on undefined modules: python_shared
Android NDK: WARNING:/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/Android.mk:main: non-system libraries in linker flags: -lpython3.11
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
/home/user/.android/android-ndk/build/core/build-binary.mk:586: Android NDK: Module main depends on undefined modules: python_shared
Android NDK: WARNING:/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/Android.mk:main: non-system libraries in linker flags: -lpython3.11
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
/home/user/.android/android-ndk/build/core/build-binary.mk:586: Android NDK: Module main depends on undefined modules: python_shared
rm -f /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/arm64-v8a/* /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/armeabi-v7a/* /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/x86/* /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/x86_64/*
[arm64-v8a] Install : libSDL2.so => libs/arm64-v8a/libSDL2.so
install -p /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/libSDL2.so /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/arm64-v8a/libSDL2.so
[arm64-v8a] Install : libSDL2_image.so => libs/arm64-v8a/libSDL2_image.so
install -p /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/libSDL2_image.so /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/arm64-v8a/libSDL2_image.so
[arm64-v8a] Install : libSDL2_mixer.so => libs/arm64-v8a/libSDL2_mixer.so
install -p /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/libSDL2_mixer.so /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/arm64-v8a/libSDL2_mixer.so
[arm64-v8a] Install : libSDL2_ttf.so => libs/arm64-v8a/libSDL2_ttf.so
install -p /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/libSDL2_ttf.so /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/libs/arm64-v8a/libSDL2_ttf.so
[arm64-v8a] Compile : main <= SDL_android_main.c
rm -f /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main///SDL/src/main/android/SDL_android_main.o
/usr/bin/ccache /home/user/.android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main///SDL/src/main/android/SDL_android_main.o.d -target aarch64-none-linux-android27 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot /home/user/.android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fpic -O0 -UNDEBUG -fno-limit-debug-info -I/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/../../SDL/include -I/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/SDL/include -I/home/user/.android/android-ndk/sources/android/cpufeatures -I/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src -DANDROID -I/home/user/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -Wformat -Werror=format-security -c /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/../../SDL/src/main/android/SDL_android_main.c -o /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main///SDL/src/main/android/SDL_android_main.o
[arm64-v8a] Compile : main <= start.c
rm -f /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main/start.o
/usr/bin/ccache /home/user/.android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main/start.o.d -target aarch64-none-linux-android27 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot /home/user/.android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fpic -O0 -UNDEBUG -fno-limit-debug-info -I/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/../../SDL/include -I/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/SDL/include -I/home/user/.android/android-ndk/sources/android/cpufeatures -I/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src -DANDROID -I/home/user/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -Wformat -Werror=format-security -c /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/start.c -o /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main/start.o
In file included from /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/start.c:3:
In file included from /home/user/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include/Python.h:38:
/home/user/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include/pyport.h:601:2: error: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
^
/home/user/.local/share/python-for-android/build/bootstrap_builds/empty/jni/application/src/start.c:17:10: fatal error: 'bootstrap_name.h' file not found
#include "bootstrap_name.h"
^~~~~~~~~~~~~~~~~~
2 errors generated.
make: *** [/home/user/.android/android-ndk/build/core/build-binary.mk:422: /home/user/.local/share/python-for-android/build/bootstrap_builds/empty/obj/local/arm64-v8a/objs-debug/main/start.o] Error 1
STDERR: