[android-developers] test-librsloader_intermediates/test-librsloader] Error
I have tried the existing solutions on google groups. None works. Any idea is appreciated.
Compilation platform: Ubuntu 12.04
host C: test-librsloader <= frameworks/compile/linkloader/android/test-librsloader.c
host Executable: test-librsloader (out/host/linux-x86/obj/EXECUTABLES/test-librsloader_intermediates/test-librsloader)
out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Signals.o): In function `PrintStackTrace':
/android_working_dir/external/llvm/lib/Support/Unix/Signals.inc:219: undefined reference to `dladdr'
/android_working_dir/external/llvm/lib/Support/Unix/Signals.inc:231: undefined reference to `dladdr'
out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Threading.o): In function `llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)':
android_working_dir/external/llvm/lib/Support/Threading.cpp:97: undefined reference to `pthread_create'
android_working_dir/external/llvm/lib/Support/Threading.cpp:92: undefined reference to `pthread_attr_setstacksize'
android_working_dir/external/llvm/lib/Support/Threading.cpp:101: undefined reference to `pthread_join'
out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Mutex.o): In function `MutexImpl':
/android_working_dir/external/llvm/lib/Support/Mutex.cpp:70: undefined reference to `pthread_mutexattr_init'
android_working_dir/external/llvm/lib/Support/Mutex.cpp:76: undefined reference to `pthread_mutexattr_settype'
android_working_dir/external/llvm/lib/Support/Mutex.cpp:81: undefined reference to `pthread_mutexattr_setpshared'
android_working_dir/external/llvm/lib/Support/Mutex.cpp:90: undefined reference to `pthread_mutexattr_destroy'
out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::tryacquire()':
android_working_dir/external/llvm/lib/Support/Mutex.cpp:144: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/test-librsloader_intermediates/test-librsloader] Error 1
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home