[Android Q&A, Help & Troubleshooting] Diogo Glória:
Hi, im tryng to buld cyanogenmod recovery from source, but im getting this error when i try "make recoveryimage":

-------------------------------------------------------------------------------------------------------

host Executable: clang (/home/diogo/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)

/home/diogo/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/cc1_main.o: In function `ForcePassLinking':

/home/diogo/android/system/external/llvm/include/llvm/LinkAllPasses.h:116: undefined reference to `llvm::createProfileMetadataLoaderPass()'

/home/diogo/android/system/external/llvm/include/llvm/LinkAllPasses.h:147: undefined reference to `llvm::createPostDomTree()'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(ProfileVerifierPass.o): In function `ReadOrAssert':

/home/diogo/android/system/external/llvm/lib/Analysis/ProfileVerifierPass.cpp:204: undefined reference to `llvm::operator<<(llvm::raw_ostream&, std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>)'

/home/diogo/android/system/external/llvm/lib/Analysis/ProfileVerifierPass.cpp:210: undefined reference to `llvm::operator<<(llvm::raw_ostream&, std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>)'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(RegionInfo.o): In function `addRequired<llvm::PostDominatorTree>':

/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:56: undefined reference to `llvm::PostDominatorTree::ID'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(RegionInfo.o): In function `initializeRegionInfoPassOnce':

/home/diogo/android/system/external/llvm/lib/Analysis/RegionInfo.cpp:853: undefined reference to `llvm::initializePostDominatorTreePass(llvm::PassRegistry&)'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(RegionInfo.o): In function `llvm::AnalysisResolver::findImplPass(void const*)':

/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:134: undefined reference to `llvm::PostDominatorTree::ID'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(RegionInfo.o): In function `llvm::PostDominatorTree& llvm::Pass::getAnalysis<llvm::PostDominatorTree>() const':

/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:132: undefined reference to `llvm::PostDominatorTree::ID'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(DomPrinter.o): In function `addRequired<llvm::PostDominatorTree>':

/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:56: undefined reference to `llvm::PostDominatorTree::ID'

/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:56: undefined reference to `llvm::PostDominatorTree::ID'

/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:56: undefined reference to `llvm::PostDominatorTree::ID'

/home/diogo/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a(DomPrinter.o):/home/diogo/android/system/external/llvm/include/llvm/PassAnalysisSupport.h:56: more undefined references to `llvm::PostDominatorTree::ID' follow

collect2: ld returned 1 exit status

build/core/host_executable.mk:31: recipe for target '/home/diogo/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang' failed

make: *** [/home/diogo/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1

-----------------------------------------------------------------------------------------------------------

What this means? How to solve it?

Never had this error before :S