ubuntu 11.10 amd64
ICS

'pthread_create'는 물론 pthread 관련 여러개의 undefined reference error가 발생


external/llvm/lib/Support/Mutex.cpp 파일 수정

=========================================================
 #include "llvm/Config/config.h" 
 #include "llvm/Support/Mutex.h" 
+    #undef ENABLE_THREADS 
+    #undef HAVE_PTHREAD_H 
======================================================== 


+2차

위 방법으로 해결 되지 않아서 아래 방법으로 해결하였다.
 
 external/llvm/llvm-host-build.mk 파일에 아래 내용 추가


=========================================================
LOCAL_LDLIBS := \
          -lpthread     \
          -ldl
=========================================================