Skip to content
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

lua-https fails to build from source for Android #37

Closed
flexiondotorg opened this issue Feb 26, 2025 · 0 comments
Closed

lua-https fails to build from source for Android #37

flexiondotorg opened this issue Feb 26, 2025 · 0 comments

Comments

@flexiondotorg
Copy link
Contributor

Since #30 was merged following the Android build instructions fails to link with this error:

   ld.lld: error: undefined symbol: LibraryLoader::GetCurrentProcessHandle()
   >>> referenced by HTTPS.cpp:70 (src/jni/lua-modules/lua-https/src/common/HTTPS.cpp:70)
   >>>               /love-***/love/build/intermediates/cxx/Debug/266f3n1h/obj/local/arm64-v8a/objs-debug/https/src/common/HTTPS.o:(__cxx_global_var_init.1)
   >>> referenced by AndroidClient.cpp:55 (src/jni/lua-modules/lua-https/src/***/AndroidClient.cpp:55)
   >>>               /love-***/love/build/intermediates/cxx/Debug/266f3n1h/obj/local/arm64-v8a/objs-debug/https/src/***/AndroidClient.o:(AndroidClient::AndroidClient())
   
   ld.lld: error: undefined symbol: LibraryLoader::GetFunction(void*, char const*)
   >>> referenced by LibraryLoader.h:17 (src/jni/lua-modules/lua-https/src/***/../common/LibraryLoader.h:17)
   >>>               /love-***/love/build/intermediates/cxx/Debug/266f3n1h/obj/local/arm64-v8a/objs-debug/https/src/***/AndroidClient.o:(bool LibraryLoader::LoadSymbol<_JNIEnv* (*)()>(_JNIEnv* (*&)(), void*, char const*))
   >>> referenced by LibraryLoader.h:17 (src/jni/lua-modules/lua-https/src/***/../common/LibraryLoader.h:17)
   >>>               /love-***/love/build/intermediates/cxx/Debug/266f3n1h/obj/local/arm64-v8a/objs-debug/https/src/***/AndroidClient.o:(bool LibraryLoader::LoadSymbol<_jobject* (*)()>(_jobject* (*&)(), void*, char const*))
   clang++: error: linker command failed with exit code 1 (use -v to see invocation)
   make: *** [/root/.***/sdk/ndk/25.2.9519653/build/core/build-binary.mk:657: /love-***/love/build/intermediates/cxx/Debug/266f3n1h/obj/local/arm64-v8a/https.so] Error 1
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

1 participant