If some one had tried to answer this?
I am through it. Thanks.

On Wed, Nov 21, 2012 at 4:05 PM, krisand <[email protected]> wrote:

> 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-platform" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-platform/-/w-wiywtUiLYJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to