android4.0源码编译错误
ubuntu11.10,32位操作系统,编译源码的时候出现一下错误,求帮助。
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':
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Unix/Signals.inc:219: undefined reference to `dladdr'
/data/Android4.0SourceCode2/Android4.0SourceCode/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)':
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Threading.cpp:96: undefined reference to `pthread_create'
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Threading.cpp:91: undefined reference to `pthread_attr_setstacksize'
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Threading.cpp:100: undefined reference to `pthread_join'
out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Mutex.o): In function `MutexImpl':
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Mutex.cpp:69: undefined reference to `pthread_mutexattr_init'
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Mutex.cpp:75: undefined reference to `pthread_mutexattr_settype'
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Mutex.cpp:80: undefined reference to `pthread_mutexattr_setpshared'
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Mutex.cpp:89: 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()':
/data/Android4.0SourceCode2/Android4.0SourceCode/external/llvm/lib/Support/Mutex.cpp:143: undefined reference to `pthread_mutex_trylock'
collect2: ld 返回 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/test-librsloader_intermediates/test-librsloader] 错误 1