[Nexus 5 Original Android Development] sykomaniac:
Thanks for looking! I've included more of an error below. The only commit I've added in so far is is to embed SuperSU in settings (https://github.com/SimpleAOSP-Lolli...mmit/10bdc1128067961810eb008a527441fb8e7a56b3). I've also removed some aosp packages (MMS, Browser, Camera & Gallery).

Probably the only other thing I will add is centre clock and maybe remove a reboot option.

external/llvm/lib/Analysis/ScalarEvolution.cpp:2187: error: undefined reference to 'llvm::APInt::urem(llvm::APInt const&) const'

external/llvm/lib/Analysis/ScalarEvolution.cpp:2202: error: undefined reference to 'llvm::APInt::urem(llvm::APInt const&) const'

external/llvm/lib/Analysis/ScalarEvolution.cpp:2208: error: undefined reference to 'llvm::APInt::urem(llvm::APInt const&) const'

target SharedLib: libmdnssd (out/target/product/hammerhead/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)

Install: out/target/product/hammerhead/system/bin/ping6

external/llvm/lib/Analysis/ScalarEvolution.cpp:2318: error: undefined reference to 'llvm::APInt::udiv(llvm::APInt const&) const'

target Executable: pppd (out/target/product/hammerhead/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)

target Executable: racoon (out/target/product/hammerhead/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)

external/llvm/lib/Analysis/ScalarEvolution.cpp:5600: error: undefined reference to 'llvm::APInt::multiplicativeInverse(llvm::APInt const&) const'

external/llvm/lib/Analysis/ScalarEvolution.cpp:5659: error: undefined reference to 'llvm::APInt::sqrt() const'

external/llvm/include/llvm/ADT/FoldingSet.h:420: error: undefined reference to 'llvm::FoldingSetImpl::FoldingSetImpl(unsigned int)'

external/llvm/lib/Analysis/ScalarEvolution.cpp:7675: error: undefined reference to 'llvm::FoldingSetImpl::clear()'

external/llvm/include/llvm/Analysis/ScalarEvolution.h:144: error: undefined reference to 'llvm::FoldingSetNodeID::operator==(llvm::FoldingSetNodeIDRef) const'

target Executable: reboot (out/target/product/hammerhead/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)

target Executable: resize2fs (out/target/product/hammerhead/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)

external/llvm/lib/Target/TargetLoweringObjectFile.cpp:46: error: undefined reference to 'llvm::MCObjectFileInfo::InitMCObjectFileInfo(llvm::StringRef, llvm::Reloc::Model, llvm::CodeModel::Model, llvm::MCContext&)'

external/llvm/lib/Target/TargetMachineC.cpp:48: error: undefined reference to 'llvm::TargetRegistry::begin()'

external/llvm/lib/Target/TargetMachineC.cpp:52: error: undefined reference to 'llvm::TargetRegistry::begin()'

external/llvm/lib/Target/TargetMachineC.cpp:61: error: undefined reference to 'llvm::TargetRegistry::begin()'

external/llvm/lib/Target/TargetMachineC.cpp:74: error: undefined reference to 'llvm::TargetRegistry::lookupTarget(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'

external/llvm/include/llvm/Target/TargetOptions.h:68: error: undefined reference to 'llvm::MCTargetOptions::MCTargetOptions()'

external/llvm/lib/Target/TargetMachineC.cpp:235: error: undefined reference to 'vtable for llvm::formatted_raw_ostream'

external/llvm/lib/Target/TargetMachineC.cpp:250: error: undefined reference to 'vtable for llvm::formatted_raw_ostream'

external/llvm/lib/Target/TargetMachineC.cpp:253: error: undefined reference to 'llvm::sys::getDefaultTargetTriple()'

external/llvm/lib/IR/AsmWriter.cpp:1742: error: undefined reference to 'llvm::formatted_raw_ostream::PadToColumn(unsigned int)'

external/llvm/lib/IR/AsmWriter.cpp:1738: error: undefined reference to 'llvm::formatted_raw_ostream::PadToColumn(unsigned int)'

external/llvm/lib/IR/AsmWriter.cpp:2125: error: undefined reference to 'llvm::formatted_raw_ostream::PadToColumn(unsigned int)'

external/llvm/lib/IR/AsmWriter.cpp:2126: error: undefined reference to 'llvm::dwarf::TagString(unsigned int)'

external/llvm/lib/IR/AsmWriter.cpp:2182: error: undefined reference to 'vtable for llvm::formatted_raw_ostream'

external/llvm/lib/IR/AsmWriter.cpp:2189: error: undefined reference to 'vtable for llvm::formatted_raw_ostream'

external/llvm/lib/IR/AsmWriter.cpp:805: error: undefined reference to 'llvm::APFloat::APFloat(llvm::fltSemantics const&, llvm::StringRef)'

target Symbolic: run-as (out/target/product/hammerhead/symbols/system/bin/run-as)

external/llvm/lib/IR/Attributes.cpp:39: error: undefined reference to 'llvm::FoldingSetNodeID::AddInteger(unsigned long long)'

external/llvm/lib/IR/Attributes.cpp:61: error: undefined reference to 'llvm::FoldingSetNodeID::AddString(llvm::StringRef)'

external/llvm/lib/IR/Attributes.cpp:62: error: undefined reference to 'llvm::FoldingSetNodeID::AddString(llvm::StringRef)'

external/llvm/include/llvm/IR/Constants.h:891: error: undefined reference to 'llvm::APFloat::Bogus'

external/llvm/lib/IR/ConstantFold.cpp:1134: error: undefined reference to 'llvm::APFloat::add(llvm::APFloat const&, llvm::APFloat::roundingMode)'

external/llvm/lib/IR/ConstantFold.cpp:1137: error: undefined reference to 'llvm::APFloat::subtract(llvm::APFloat const&, llvm::APFloat::roundingMode)'

external/llvm/lib/IR/ConstantFold.cpp:1140: error: undefined reference to 'llvm::APFloat::multiply(llvm::APFloat const&, llvm::APFloat::roundingMode)'

external/llvm/lib/IR/ConstantFold.cpp:1146: error: undefined reference to 'llvm::APFloat::mod(llvm::APFloat const&, llvm::APFloat::roundingMode)'

target Executable: sdcard (out/target/product/hammerhead/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)

external/llvm/lib/IR/ConstantRange.cpp:499: error: undefined reference to 'llvm::APInt::udivrem(llvm::APInt const&, llvm::APInt const&, llvm::APInt&, llvm::APInt&)'

target Symbolic: servicemanager (out/target/product/hammerhead/symbols/system/bin/servicemanager)

external/llvm/lib/IR/ConstantRange.cpp:686: error: undefined reference to 'llvm::APInt::shl(llvm::APInt const&) const'

external/llvm/lib/IR/ConstantRange.cpp:687: error: undefined reference to 'llvm::APInt::shl(llvm::APInt const&) const'

external/llvm/lib/IR/ConstantRange.cpp:703: error: undefined reference to 'llvm::APInt::lshr(llvm::APInt const&) const'

external/llvm/include/llvm/ADT/APFloat.h:214: error: undefined reference to 'llvm::APFloat::APFloat(llvm::fltSemantics const&, llvm::APFloat::uninitializedTag)'

external/llvm/include/llvm/ADT/APFloat.h:215: error: undefined reference to 'llvm::APFloat::makeZero(bool)'

external/llvm/lib/IR/LLVMContextImpl.h:73: error: undefined reference to 'llvm::APFloat::operator=(llvm::APFloat&&)'

target Executable: vdc (out/target/product/hammerhead/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)

external/llvm/lib/IR/Constants.cpp:191: error: undefined reference to 'llvm::APFloat::getAllOnesValue(unsigned int, bool)'

external/llvm/lib/IR/Constants.cpp:565: error: undefined reference to 'llvm::APInt::APInt(unsigned int, llvm::StringRef, unsigned char)'

external/llvm/lib/IR/Constants.cpp:613: error: undefined reference to 'llvm::APFloat::APFloat(llvm::fltSemantics const&, llvm::StringRef)'

external/llvm/include/llvm/ADT/APFloat.h:214: error: undefined reference to 'llvm::APFloat::APFloat(llvm::fltSemantics const&, llvm::APFloat::uninitializedTag)'

external/llvm/include/llvm/ADT/APFloat.h:215: error: undefined reference to 'llvm::APFloat::makeZero(bool)'

target SharedLib: libdiskconfig (out/target/product/hammerhead/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)

external/llvm/include/llvm/ADT/APFloat.h:223: error: undefined reference to 'llvm::APFloat::APFloat(llvm::fltSemantics const&, llvm::APFloat::uninitializedTag)'

external/llvm/include/llvm/ADT/APFloat.h:224: error: undefined reference to 'llvm::APFloat::makeInf(bool)'

external/llvm/lib/IR/Constants.cpp:689: error: undefined reference to 'llvm::APFloat::bitwiseIsEqual(llvm::APFloat const&) const'

external/llvm/include/llvm/ADT/StringMap.h:381: error: undefined reference to 'llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*)'

external/llvm/lib/IR/LLVMContextImpl.h:77: error: undefined reference to 'llvm::APFloat::bitwiseIsEqual(llvm::APFloat const&) const'

external/llvm/include/llvm/ADT/DenseMap.h:452: error: undefined reference to 'llvm::APFloat::Bogus'

external/llvm/include/llvm/ADT/DenseMap.h:273: error: undefined reference to 'llvm::APFloat::Bogus'

external/llvm/lib/IR/LLVMContextImpl.h:73: error: undefined reference to 'llvm::APFloat::operator=(llvm::APFloat&&)'

external/llvm/include/llvm/ADT/DenseMap.h:304: error: undefined reference to 'llvm::APFloat::Bogus'

target SharedLib: libf2fs_sparseblock (out/target/product/hammerhead/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)

external/llvm/include/llvm/ADT/Hashing.h:382: error: undefined reference to 'llvm::hash_value(llvm::APFloat const&)'

external/llvm/include/llvm/ADT/Hashing.h:382: error: undefined reference to 'llvm::hash_value(llvm::APInt const&)'

external/llvm/lib/IR/Core.cpp:60: error: undefined reference to 'llvm::llvm_shutdown()'

external/llvm/lib/IR/Core.cpp:2609: error: undefined reference to 'llvm::MemoryBuffer::getFile(llvm::Twine, long long, bool, bool)'

external/llvm/lib/IR/Core.cpp:2620: error: undefined reference to 'llvm::MemoryBuffer::getSTDIN()'

external/llvm/lib/IR/Core.cpp:2646: error: undefined reference to 'llvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, llvm::StringRef)'

external/llvm/lib/IR/DebugInfo.cpp:1233: error: undefined reference to 'llvm::dwarf::TagString(unsigned int)'

external/llvm/lib/IR/DebugInfo.cpp:1281: error: undefined reference to 'llvm::dwarf::LanguageString(unsigned int)'

external/llvm/lib/IR/DebugInfo.cpp:1306: error: undefined reference to 'llvm::dwarf::AttributeEncodingString(unsigned int)'

external/llvm/lib/IR/DiagnosticInfo.cpp:91: error: undefined reference to 'llvm::sys::AtomicIncrement(unsigned int volatile*)'

external/llvm/lib/IR/DiagnosticInfo.cpp:158: error: undefined reference to 'llvm::Regex::match(llvm::StringRef, llvm::SmallVectorImpl<llvm::StringRef>*)'

external/libcxx/include/memory:2099: error: undefined reference to 'llvm::Regex::Regex(llvm::StringRef, unsigned int)'

external/llvm/lib/IR/DiagnosticInfo.cpp:47: error: undefined reference to 'llvm::Regex::isValid(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'

external/llvm/include/llvm/Support/CommandLine.h:1180: error: undefined reference to 'llvm::cl::basic_parser_impl::getOptionWidth(llvm::cl::eek:ption const&) const'

external/llvm/include/llvm/Support/CommandLine.h:1182: error: undefined reference to 'llvm::cl::basic_parser_impl::printOptionInfo(llvm::cl::eek:ption const&, unsigned int) const'

external/llvm/include/llvm/Support/CommandLine.h:976: error: undefined reference to 'llvm::cl::basic_parser_impl::printOptionNoValue(llvm::cl::eek:ption const&, unsigned int) const'

external/libcxx/include/memory:1935: error: undefined reference to 'llvm::Regex::~Regex()'

external/llvm/lib/IR/DiagnosticPrinter.cpp:94: error: undefined reference to 'llvm::Twine::print(llvm::raw_ostream&) const'

external/llvm/include/llvm/ADT/StringMap.h:233: error: undefined reference to 'llvm::StringMapImpl::StringMapImpl(unsigned int, unsigned int)'

external/llvm/include/llvm/Support/RWMutex.h:116: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_acquire()'

external/llvm/include/llvm/ADT/StringMap.h:381: error: undefined reference to 'llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*)'

external/llvm/lib/IR/Function.cpp:361: error: undefined reference to 'llvm::StringPool::~StringPool()'

external/llvm/include/llvm/Support/RWMutex.h:127: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_release()'

external/llvm/include/llvm/Support/RWMutex.h:95: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_acquire()'

external/llvm/include/llvm/Support/RWMutex.h:105: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_release()'

external/llvm/include/llvm/Support/RWMutex.h:95: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_acquire()'

external/llvm/include/llvm/Support/RWMutex.h:105: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_release()'

external/llvm/include/llvm/Support/RWMutex.h:116: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_acquire()'

external/llvm/lib/IR/Function.cpp:347: error: undefined reference to 'llvm::StringPool::StringPool()'

external/llvm/lib/IR/Function.cpp:350: error: undefined reference to 'llvm::StringPool::intern(llvm::StringRef)'

external/llvm/include/llvm/Support/RWMutex.h:127: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_release()'

external/llvm/include/llvm/Support/RWMutex.h:91: error: undefined reference to 'llvm::sys::RWMutexImpl::RWMutexImpl()'

external/llvm/include/llvm/Support/ManagedStatic.h:32: error: undefined reference to 'llvm::sys::RWMutexImpl::~RWMutexImpl()'

external/llvm/lib/IR/GCOV.cpp:467: error: undefined reference to 'llvm::sys::path::filename(llvm::StringRef)'

external/llvm/lib/IR/GCOV.cpp:442: error: undefined reference to 'llvm::MemoryBuffer::getFileOrSTDIN(llvm::StringRef, long long)'

external/llvm/include/llvm/ADT/FoldingSet.h:661: error: undefined reference to 'llvm::FoldingSetIteratorImpl::FoldingSetIteratorImpl(void**)'

external/llvm/include/llvm/ADT/FoldingSet.h:661: error: undefined reference to 'llvm::FoldingSetIteratorImpl::FoldingSetIteratorImpl(void**)'

external/llvm/include/llvm/ADT/FoldingSet.h:672: error: undefined reference to 'llvm::FoldingSetIteratorImpl::advance()'

external/llvm/include/llvm/ADT/FoldingSet.h:661: error: undefined reference to 'llvm::FoldingSetIteratorImpl::FoldingSetIteratorImpl(void**)'

external/llvm/include/llvm/ADT/FoldingSet.h:661: error: undefined reference to 'llvm::FoldingSetIteratorImpl::FoldingSetIteratorImpl(void**)'

external/llvm/include/llvm/ADT/FoldingSet.h:672: error: undefined reference to 'llvm::FoldingSetIteratorImpl::advance()'

external/llvm/include/llvm/ADT/FoldingSet.h:672: error: undefined reference to 'llvm::FoldingSetIteratorImpl::advance()'

external/llvm/include/llvm/ADT/FoldingSet.h:672: error: undefined reference to 'llvm::FoldingSetIteratorImpl::advance()'

external/llvm/lib/IR/LLVMContextImpl.h:206: error: undefined reference to 'llvm::FoldingSetNodeID::operator==(llvm::FoldingSetNodeID const&) const'

external/llvm/include/llvm/ADT/FoldingSet.h:363: error: undefined reference to 'llvm::FoldingSetNodeID::operator==(llvm::FoldingSetNodeID const&) const'

external/llvm/include/llvm/ADT/FoldingSet.h:369: error: undefined reference to 'llvm::FoldingSetNodeID::ComputeHash() const'

external/llvm/include/llvm/ADT/FoldingSet.h:369: error: undefined reference to 'llvm::FoldingSetNodeID::ComputeHash() const'

external/llvm/lib/IR/AttributeImpl.h:81: error: undefined reference to 'llvm::FoldingSetNodeID::AddString(llvm::StringRef)'

external/llvm/lib/IR/AttributeImpl.h:78: error: undefined reference to 'llvm::FoldingSetNodeID::AddInteger(unsigned long long)'

external/llvm/include/llvm/Support/Mutex.h:98: error: undefined reference to 'llvm::sys::MutexImpl::acquire()'

external/llvm/include/llvm/Support/Mutex.h:111: error: undefined reference to 'llvm::sys::MutexImpl::release()'

external/llvm/include/llvm/Support/Mutex.h:98: error: undefined reference to 'llvm::sys::MutexImpl::acquire()'

external/llvm/include/llvm/Support/Mutex.h:111: error: undefined reference to 'llvm::sys::MutexImpl::release()'

external/llvm/include/llvm/IR/LegacyPassManagers.h:123: error: undefined reference to 'llvm::PrettyStackTraceEntry::PrettyStackTraceEntry()'

external/llvm/lib/IR/LegacyPassManager.cpp:964: error: undefined reference to 'llvm::PrettyStackTraceEntry::~PrettyStackTraceEntry()'

external/llvm/lib/IR/LegacyPassManager.cpp:1163: error: undefined reference to 'llvm::sys::TimeValue::now()'

external/llvm/lib/IR/LegacyPassManager.cpp:1163: error: undefined reference to 'llvm::sys::TimeValue::str() const'

external/llvm/include/llvm/IR/LegacyPassManagers.h:125: error: undefined reference to 'llvm::PrettyStackTraceEntry::PrettyStackTraceEntry()'

external/llvm/lib/IR/LegacyPassManager.cpp:1546: error: undefined reference to 'llvm::PrettyStackTraceEntry::~PrettyStackTraceEntry()'

external/llvm/lib/IR/Mangler.cpp:27: error: undefined reference to 'llvm::Twine::toStringRef(llvm::SmallVectorImpl<char>&) const'

external/llvm/lib/IR/Metadata.cpp:364: error: undefined reference to 'llvm::FoldingSetImpl::RemoveNode(llvm::FoldingSetImpl::Node*)'

external/llvm/include/llvm/ADT/StringMap.h:233: error: undefined reference to 'llvm::StringMapImpl::StringMapImpl(unsigned int, unsigned int)'

external/llvm/lib/IR/Module.cpp:237: error: undefined reference to 'llvm::Twine::toStringRef(llvm::SmallVectorImpl<char>&) const'

external/llvm/lib/IR/Module.cpp:366: error: undefined reference to 'llvm::RandomNumberGenerator::RandomNumberGenerator(llvm::StringRef)'

external/llvm/include/llvm/IR/LegacyPassNameParser.h:73: error: undefined reference to 'llvm::cl::generic_parser_base::findOption(char const*)'

external/llvm/lib/IR/PassRegistry.cpp:40: error: undefined reference to 'llvm::sys::RWMutexImpl::~RWMutexImpl()'

external/llvm/include/llvm/Support/RWMutex.h:95: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_acquire()'

external/llvm/include/llvm/Support/RWMutex.h:105: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_release()'

external/llvm/include/llvm/Support/RWMutex.h:95: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_acquire()'

external/llvm/include/llvm/Support/RWMutex.h:105: error: undefined reference to 'llvm::sys::RWMutexImpl::reader_release()'

external/llvm/include/llvm/Support/RWMutex.h:116: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_acquire()'

external/llvm/include/llvm/Support/RWMutex.h:127: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_release()'

external/llvm/include/llvm/Support/RWMutex.h:116: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_acquire()'

external/llvm/include/llvm/Support/RWMutex.h:127: error: undefined reference to 'llvm::sys::RWMutexImpl::writer_release()'

external/llvm/include/llvm/Support/RWMutex.h:91: error: undefined reference to 'llvm::sys::RWMutexImpl::RWMutexImpl()'

external/llvm/include/llvm/Support/TimeValue.h:91: error: undefined reference to 'llvm::sys::TimeValue::normalize()'

external/llvm/include/llvm/Support/TimeValue.h:91: error: undefined reference to 'llvm::sys::TimeValue::normalize()'

external/llvm/include/llvm/Support/TimeValue.h:91: error: undefined reference to 'llvm::sys::TimeValue::normalize()'

external/llvm/lib/Support/Timer.cpp:126: error: undefined reference to 'llvm::sys::Process::GetMallocUsage()'

external/llvm/lib/Support/Timer.cpp:137: error: undefined reference to 'llvm::sys::Process::GetTimeUsage(llvm::sys::TimeValue&, llvm::sys::TimeValue&, llvm::sys::TimeValue&)'

external/llvm/lib/Support/Timer.cpp:126: error: undefined reference to 'llvm::sys::Process::GetMallocUsage()'

external/llvm/lib/Support/Timer.cpp:135: error: undefined reference to 'llvm::sys::Process::GetTimeUsage(llvm::sys::TimeValue&, llvm::sys::TimeValue&, llvm::sys::TimeValue&)'

external/llvm/include/llvm/Support/CommandLine.h:986: error: undefined reference to 'llvm::cl::parser<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::printOptionDiff(llvm::cl::eek:ption const&, llvm::StringRef, llvm::cl::eek:ptionValue<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, unsigned int) const'

external/llvm/lib/Support/Triple.cpp:430: error: undefined reference to 'llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'

external/llvm/lib/Support/YAMLParser.cpp:623: error: undefined reference to 'llvm::SourceMgr::~SourceMgr()'

external/llvm/lib/Support/YAMLParser.cpp:636: error: undefined reference to 'llvm::SourceMgr::~SourceMgr()'

external/llvm/lib/Support/YAMLParser.cpp:1510: error: undefined reference to 'llvm::StringRef::find_first_of(llvm::StringRef, unsigned int) const'

external/llvm/lib/Support/YAMLParser.cpp:273: error: undefined reference to 'llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, llvm::ArrayRef<llvm::SMFixIt>, bool) const'

external/llvm/lib/Support/YAMLParser.cpp:273: error: undefined reference to 'llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, llvm::ArrayRef<llvm::SMFixIt>, bool) const'

external/llvm/lib/Support/YAMLParser.cpp:863: error: undefined reference to 'llvm::StringRef::find_first_of(llvm::StringRef, unsigned int) const'

external/llvm/lib/Support/YAMLParser.cpp:273: error: undefined reference to 'llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, llvm::ArrayRef<llvm::SMFixIt>, bool) const'

external/llvm/lib/Support/YAMLParser.cpp:273: error: undefined reference to 'llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, llvm::ArrayRef<llvm::SMFixIt>, bool) const'

external/llvm/lib/Support/YAMLTraits.cpp:760: error: undefined reference to 'llvm::getAsSignedInteger(llvm::StringRef, unsigned int, long long&)'

external/llvm/lib/Support/YAMLTraits.cpp:775: error: undefined reference to 'llvm::getAsSignedInteger(llvm::StringRef, unsigned int, long long&)'

external/llvm/lib/Support/YAMLTraits.cpp:790: error: undefined reference to 'llvm::getAsSignedInteger(llvm::StringRef, unsigned int, long long&)'

external/llvm/lib/Support/YAMLTraits.cpp:805: error: undefined reference to 'llvm::getAsSignedInteger(llvm::StringRef, unsigned int, long long&)'

external/llvm/lib/Support/raw_ostream.cpp:447: error: undefined reference to 'llvm::sys::ChangeStdoutToBinary()'

external/llvm/lib/Support/raw_ostream.cpp:453: error: undefined reference to 'llvm::sys::fs::openFileForWrite(llvm::Twine const&, int&, llvm::sys::fs::eek:penFlags, unsigned int)'

external/llvm/lib/Support/raw_ostream.cpp:607: error: undefined reference to 'llvm::sys::Process::ColorNeedsFlush()'

external/llvm/lib/Support/raw_ostream.cpp:610: error: undefined reference to 'llvm::sys::Process::eek:utputBold(bool)'

external/llvm/lib/Support/raw_ostream.cpp:611: error: undefined reference to 'llvm::sys::Process::eek:utputColor(char, bool, bool)'

external/llvm/lib/Support/raw_ostream.cpp:622: error: undefined reference to 'llvm::sys::Process::ColorNeedsFlush()'

external/llvm/lib/Support/raw_ostream.cpp:624: error: undefined reference to 'llvm::sys::Process::ResetColor()'

external/llvm/lib/Support/raw_ostream.cpp:635: error: undefined reference to 'llvm::sys::Process::ColorNeedsFlush()'

external/llvm/lib/Support/raw_ostream.cpp:637: error: undefined reference to 'llvm::sys::Process::eek:utputReverse()'

external/llvm/lib/Support/raw_ostream.cpp:648: error: undefined reference to 'llvm::sys::Process::FileDescriptorIsDisplayed(int)'

external/llvm/lib/Support/raw_ostream.cpp:652: error: undefined reference to 'llvm::sys::Process::FileDescriptorHasColors(int)'

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [out/target/product/hammerhead/obj/SHARED_LIBRARIES/libLLVM_intermediates/LINKED/libLLVM.so] Error 1

make: *** Waiting for unfinished jobs....

target Executable: ip-up-vpn (out/target/product/hammerhead/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)

#### make failed to build some targets (01:52 (mm:ss)) ####