[lldb-dev] Linux build - link errors creating the driver

Joel Dillon joelrdillon at gmail.com
Sat Oct 22 13:20:17 PDT 2011


Hi,

  I've just grabbed lldb and the specified version of llvm and clang from
svn according to the instructions on the website. I had to make some changes
to get things to build (a missing std:: for ptrdiff_t in Core/Stream.cpp,
stddef.h needs to be included for RegisterContextDarwin_i386.cpp and
_x86_64.cpp, and for some reason I had to manually add -lrt and the python
link stuff to LIBS in Makefile.config to get liblldb to link). However, now
it's falling over at the final stage of linking the driver, and I'm not sure
why.
I'm compiling on Kubuntu 11.10 64-bit, gcc 4.6.1, if that's relevant.
  Any other intrepid Linux-lldb users had this problem? Log is thus -

llvm[4]: Linking Debug+Asserts executable lldb
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:112: undefined
reference to `lldb::SBBroadcaster::SBBroadcaster(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:112: undefined
reference to `lldb::SBDebugger::Create(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:112: undefined
reference to `lldb_utility::PseudoTerminal::PseudoTerminal()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:112: undefined
reference to `lldb::SBInputReader::SBInputReader()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:116: undefined
reference to `lldb::SBDebugger::SetCloseInputOnEOF(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:117: undefined
reference to `lldb::SBDebugger::GetInstanceName()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `~Driver':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:123: undefined
reference to `lldb::SBInputReader::~SBInputReader()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:123: undefined
reference to `lldb_utility::PseudoTerminal::~PseudoTerminal()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:123: undefined
reference to `lldb::SBDebugger::~SBDebugger()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:123: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::CloseIOChannelFile()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:135: undefined
reference to `lldb_utility::PseudoTerminal::GetMasterFileDescriptor() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:137: undefined
reference to `lldb_utility::PseudoTerminal::CloseMasterFileDescriptor()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `ShowUsage(_IO_FILE*, OptionDefinition*, Driver::OptionData)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:257: undefined
reference to
`lldb::SBCommandInterpreter::GetArgumentTypeAsCString(lldb::CommandArgumentType)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:309: undefined
reference to
`lldb::SBCommandInterpreter::GetArgumentTypeAsCString(lldb::CommandArgumentType)'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::ParseArgs(int, char const**, _IO_FILE*, bool&)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:467: undefined
reference to `lldb::SBCommandReturnObject::SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:469: undefined
reference to `lldb::SBError::SBError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:481: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:494: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:526: undefined
reference to `lldb::SBDebugger::SkipLLDBInitFiles(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:527: undefined
reference to `lldb::SBDebugger::SkipAppInitFiles(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:547: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:592: undefined
reference to `lldb::SBDebugger::SkipLLDBInitFiles(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:593: undefined
reference to `lldb::SBDebugger::SkipAppInitFiles(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:598: undefined
reference to `lldb::SBFileSpec::SBFileSpec(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:599: undefined
reference to `lldb::SBFileSpec::Exists() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:603: undefined
reference to `lldb::SBFileSpec::ResolveExecutableLocation()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:606: undefined
reference to `lldb::SBFileSpec::GetPath(char*, unsigned long) const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:610: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:598: undefined
reference to `lldb::SBFileSpec::~SBFileSpec()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:615: undefined
reference to `lldb::SBDebugger::SetDefaultArchitecture(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:616: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:620: undefined
reference to `lldb::SBDebugger::GetScriptingLanguage(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:641: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:646: undefined
reference to `lldb::SBFileSpec::SBFileSpec(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:647: undefined
reference to `lldb::SBFileSpec::Exists() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:649: undefined
reference to `lldb::SBFileSpec::ResolveExecutableLocation()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:652: undefined
reference to `lldb::SBFileSpec::GetPath(char*, unsigned long) const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:657: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:646: undefined
reference to `lldb::SBFileSpec::~SBFileSpec()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:663: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:669: undefined
reference to `lldb::SBError::SetErrorStringWithFormat(char const*, ...)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:671: undefined
reference to `lldb::SBError::Fail() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:678: undefined
reference to `lldb::SBError::Fail() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:685: undefined
reference to `lldb::SBDebugger::GetVersionString()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:467: undefined
reference to `lldb::SBCommandReturnObject::~SBCommandReturnObject()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::GetProcessSTDOUT()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:735: undefined
reference to `lldb::SBDebugger::GetSelectedTarget()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:735: undefined
reference to `lldb::SBTarget::GetProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:735: undefined
reference to `lldb::SBProcess::GetSTDOUT(char*, unsigned long) const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:735: undefined
reference to `lldb::SBProcess::~SBProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:735: undefined
reference to `lldb::SBTarget::~SBTarget()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::GetProcessSTDERR()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:750: undefined
reference to `lldb::SBDebugger::GetSelectedTarget()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:750: undefined
reference to `lldb::SBTarget::GetProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:750: undefined
reference to `lldb::SBProcess::GetSTDERR(char*, unsigned long) const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:750: undefined
reference to `lldb::SBProcess::~SBProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:750: undefined
reference to `lldb::SBTarget::~SBTarget()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::UpdateSelectedThread()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:762: undefined
reference to `lldb::SBDebugger::GetSelectedTarget()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:762: undefined
reference to `lldb::SBTarget::GetProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:762: undefined
reference to `lldb::SBTarget::~SBTarget()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:763: undefined
reference to `lldb::SBProcess::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:765: undefined
reference to `lldb::SBProcess::GetSelectedThread() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:766: undefined
reference to `lldb::SBThread::SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:768: undefined
reference to `lldb::SBThread::GetStopReason()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:770: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:775: undefined
reference to `lldb::SBThread::SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:776: undefined
reference to `lldb::SBThread::SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:777: undefined
reference to `lldb::SBProcess::GetNumThreads()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:781: undefined
reference to `lldb::SBProcess::GetThreadAtIndex(unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:781: undefined
reference to `lldb::SBThread::operator=(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:781: undefined
reference to `lldb::SBThread::~SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:782: undefined
reference to `lldb::SBThread::GetStopReason()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:795: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:796: undefined
reference to `lldb::SBThread::operator=(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:799: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:800: undefined
reference to `lldb::SBThread::operator=(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:804: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:805: undefined
reference to `lldb::SBProcess::SetSelectedThread(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:806: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:807: undefined
reference to `lldb::SBProcess::SetSelectedThread(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:810: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:811: undefined
reference to `lldb::SBThread::operator=(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:813: undefined
reference to `lldb::SBProcess::GetThreadAtIndex(unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:813: undefined
reference to `lldb::SBThread::operator=(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:813: undefined
reference to `lldb::SBThread::~SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:815: undefined
reference to `lldb::SBThread::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:816: undefined
reference to `lldb::SBProcess::SetSelectedThread(lldb::SBThread const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:776: undefined
reference to `lldb::SBThread::~SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:775: undefined
reference to `lldb::SBThread::~SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:766: undefined
reference to `lldb::SBThread::~SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:765: undefined
reference to `lldb::SBThread::~SBThread()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:762: undefined
reference to `lldb::SBProcess::~SBProcess()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::HandleProcessEvent(lldb::SBEvent const&)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:828: undefined
reference to `lldb::SBEvent::GetType() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:850: undefined
reference to `lldb::SBProcess::GetStateFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:854: undefined
reference to `lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:855: undefined
reference to `lldb::SBProcess::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:869: undefined
reference to `lldb::SBDebugger::StateAsCString(lldb::StateType)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:869: undefined
reference to `lldb::SBProcess::GetProcessID()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:880: undefined
reference to `lldb::SBCommandReturnObject::SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:881: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:881: undefined
reference to `lldb::SBCommandInterpreter::HandleCommand(char const*,
lldb::SBCommandReturnObject&, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:881: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:882: undefined
reference to `lldb::SBCommandReturnObject::GetErrorSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:882: undefined
reference to `lldb::SBCommandReturnObject::GetError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:883: undefined
reference to `lldb::SBCommandReturnObject::GetOutputSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:883: undefined
reference to `lldb::SBCommandReturnObject::GetOutput()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:880: undefined
reference to `lldb::SBCommandReturnObject::~SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:891: undefined
reference to `lldb::SBProcess::GetRestartedFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:896: undefined
reference to `lldb::SBProcess::GetProcessID()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:901: undefined
reference to `lldb::SBCommandReturnObject::SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:903: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:903: undefined
reference to `lldb::SBCommandInterpreter::HandleCommand(char const*,
lldb::SBCommandReturnObject&, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:903: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:904: undefined
reference to `lldb::SBCommandReturnObject::GetErrorSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:904: undefined
reference to `lldb::SBCommandReturnObject::GetError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:905: undefined
reference to `lldb::SBCommandReturnObject::GetOutputSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:905: undefined
reference to `lldb::SBCommandReturnObject::GetOutput()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:901: undefined
reference to `lldb::SBCommandReturnObject::~SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:854: undefined
reference to `lldb::SBProcess::~SBProcess()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::HandleIOEvent(lldb::SBEvent const&)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:919: undefined
reference to `lldb::SBEvent::GetType() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:926: undefined
reference to `lldb::SBEvent::GetCStringFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:929: undefined
reference to `lldb::SBCommandReturnObject::SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:933: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:933: undefined
reference to `lldb::SBCommandInterpreter::HandleCommand(char const*,
lldb::SBCommandReturnObject&, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:933: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:935: undefined
reference to `lldb::SBCommandReturnObject::GetOutputSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:936: undefined
reference to `lldb::SBCommandReturnObject::GetOutputSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:936: undefined
reference to `lldb::SBCommandReturnObject::GetOutput()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:938: undefined
reference to `lldb::SBCommandReturnObject::GetErrorSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:939: undefined
reference to `lldb::SBCommandReturnObject::GetErrorSize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:939: undefined
reference to `lldb::SBCommandReturnObject::GetError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:949: undefined
reference to `lldb::SBInputReader::IsActive() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:929: undefined
reference to `lldb::SBCommandReturnObject::~SBCommandReturnObject()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::GetFromMaster(char const*, unsigned long)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:984: undefined
reference to `lldb::SBDebugger::GetOutputFileHandle()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::EditLineInputReaderCallback(void*, lldb::SBInputReader*,
lldb::InputReaderAction, char const*, unsigned long)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1032: undefined
reference to `lldb_utility::PseudoTerminal::GetMasterFileDescriptor() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1036: undefined
reference to `lldb_utility::PseudoTerminal::GetMasterFileDescriptor() const'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::MainLoop()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1049: undefined
reference to `lldb_utility::PseudoTerminal::OpenFirstAvailableMaster(int,
char*, unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1056: undefined
reference to `lldb_utility::PseudoTerminal::GetSlaveName(char*, unsigned
long) const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1067: undefined
reference to `lldb::SBError::SBError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1068: undefined
reference to `lldb::SBError::SetErrorToErrno()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1070: undefined
reference to `lldb::SBError::GetCString() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1078: undefined
reference to `lldb_utility::PseudoTerminal::PseudoTerminal()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1081: undefined
reference to `lldb_utility::PseudoTerminal::OpenFirstAvailableMaster(int,
char*, unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1088: undefined
reference to `lldb_utility::PseudoTerminal::GetSlaveName(char*, unsigned
long) const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1099: undefined
reference to `lldb::SBError::SBError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1100: undefined
reference to `lldb::SBError::SetErrorToErrno()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1102: undefined
reference to `lldb::SBError::GetCString() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1117: undefined
reference to `lldb::SBDebugger::SetErrorFileHandle(_IO_FILE*, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1118: undefined
reference to `lldb::SBDebugger::SetOutputFileHandle(_IO_FILE*, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1119: undefined
reference to `lldb::SBDebugger::SetInputFileHandle(_IO_FILE*, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1121: undefined
reference to `lldb::SBDebugger::SetUseExternalEditor(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1131: undefined
reference to `lldb::SBCommunication::SBCommunication(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1132: undefined
reference to `lldb::SBCommunication::SetCloseOnEOF(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1133: undefined
reference to `lldb_utility::PseudoTerminal::GetMasterFileDescriptor() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1133: undefined
reference to `lldb::SBCommunication::AdoptFileDesriptor(int, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1134: undefined
reference to `lldb::SBCommunication::SetReadThreadBytesReceivedCallback(void
(*)(void*, void const*, unsigned long), void*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1136: undefined
reference to `lldb::SBCommunication::ReadThreadStart()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1142: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1146: undefined
reference to `lldb::SBCommunication::SBCommunication(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1147: undefined
reference to `lldb::SBCommunication::SetCloseOnEOF(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1148: undefined
reference to `lldb_utility::PseudoTerminal::GetMasterFileDescriptor() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1148: undefined
reference to `lldb::SBCommunication::AdoptFileDesriptor(int, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1149: undefined
reference to `lldb::SBCommunication::SetReadThreadBytesReceivedCallback(void
(*)(void*, void const*, unsigned long), void*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1151: undefined
reference to `lldb::SBCommunication::ReadThreadStart()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1163: undefined
reference to `lldb::SBDebugger::SetTerminalWidth(unsigned int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1175: undefined
reference to `lldb::SBInputReader::Initialize(lldb::SBDebugger&, unsigned
long (*)(void*, lldb::SBInputReader*, lldb::InputReaderAction, char const*,
unsigned long), void*, lldb::InputReaderGranularity, char const*, char
const*, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1178: undefined
reference to `lldb::SBError::Fail() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1180: undefined
reference to `lldb::SBError::GetCString() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1184: undefined
reference to `lldb::SBDebugger::PushInputReader(lldb::SBInputReader&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1186: undefined
reference to `lldb::SBDebugger::GetListener()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1187: undefined
reference to `lldb::SBListener::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1195: undefined
reference to `lldb::SBListener::StartListeningForEvents(lldb::SBBroadcaster
const&, unsigned int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1204: undefined
reference to `lldb::SBCommandInterpreter::GetBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1204: undefined
reference to `lldb::SBListener::StartListeningForEvents(lldb::SBBroadcaster
const&, unsigned int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1201: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1208: undefined
reference to `lldb::SBCommandReturnObject::SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1209: undefined
reference to
`lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory(lldb::SBCommandReturnObject&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1212: undefined
reference to `lldb::SBDebugger::GetErrorFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1212: undefined
reference to `lldb::SBCommandReturnObject::PutError(_IO_FILE*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1213: undefined
reference to `lldb::SBDebugger::GetOutputFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1213: undefined
reference to `lldb::SBCommandReturnObject::PutOutput(_IO_FILE*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1225: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1225: undefined
reference to `lldb::SBCommandInterpreter::HandleCommand(char const*,
lldb::SBCommandReturnObject&, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1225: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1228: undefined
reference to `lldb::SBDebugger::GetErrorFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1228: undefined
reference to `lldb::SBCommandReturnObject::PutError(_IO_FILE*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1229: undefined
reference to `lldb::SBDebugger::GetOutputFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1229: undefined
reference to `lldb::SBCommandReturnObject::PutOutput(_IO_FILE*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1238: undefined
reference to `lldb::SBDebugger::GetDefaultArchitecture(char*, unsigned
long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1250: undefined
reference to `lldb::SBDebugger::HandleCommand(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1254: undefined
reference to `lldb::SBDebugger::HandleCommand(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1262: undefined
reference to `lldb::SBDebugger::HandleCommand(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1269: undefined
reference to
`lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory(lldb::SBCommandReturnObject&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1272: undefined
reference to `lldb::SBDebugger::GetErrorFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1272: undefined
reference to `lldb::SBCommandReturnObject::PutError(_IO_FILE*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1273: undefined
reference to `lldb::SBDebugger::GetOutputFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1273: undefined
reference to `lldb::SBCommandReturnObject::PutOutput(_IO_FILE*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1276: undefined
reference to `lldb::SBEvent::SBEvent()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1283: undefined
reference to `lldb::SBListener::WaitForEventForBroadcasterWithType(unsigned
int, lldb::SBBroadcaster const&, unsigned int, lldb::SBEvent&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1308: undefined
reference to `lldb::SBDebugger::GetOutputFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1311: undefined
reference to `lldb::SBDebugger::GetOutputFileHandle()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1314: undefined
reference to `lldb::SBDebugger::GetAsync()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1315: undefined
reference to `lldb::SBDebugger::SetAsync(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1316: undefined
reference to `lldb::SBDebugger::HandleCommand(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1317: undefined
reference to `lldb::SBDebugger::SetAsync(bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1325: undefined
reference to `lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1326: undefined
reference to `lldb::SBEvent::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1328: undefined
reference to `lldb::SBEvent::GetBroadcaster() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1328: undefined
reference to `lldb::SBBroadcaster::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1328: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1330: undefined
reference to `lldb::SBEvent::GetType() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1331: undefined
reference to `lldb::SBEvent::BroadcasterMatchesRef(lldb::SBBroadcaster
const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBDebugger::GetSelectedTarget()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBTarget::GetProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBProcess::GetBroadcaster() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBEvent::BroadcasterMatchesRef(lldb::SBBroadcaster
const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBProcess::~SBProcess()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1343: undefined
reference to `lldb::SBTarget::~SBTarget()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1347: undefined
reference to `lldb::SBCommandInterpreter::GetBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1347: undefined
reference to `lldb::SBEvent::BroadcasterMatchesRef(lldb::SBBroadcaster
const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1347: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1353: undefined
reference to `lldb::SBEvent::GetCStringFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1358: undefined
reference to `lldb::SBEvent::GetCStringFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1372: undefined
reference to `lldb::SBEvent::Clear()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1375: undefined
reference to
`lldb::SBListener::GetNextEventForBroadcasterWithType(lldb::SBBroadcaster
const&, unsigned int, lldb::SBEvent&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1376: undefined
reference to `lldb::SBEvent::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1383: undefined
reference to `lldb::SBDebugger::Destroy(lldb::SBDebugger&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1276: undefined
reference to `lldb::SBEvent::~SBEvent()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1208: undefined
reference to `lldb::SBCommandReturnObject::~SBCommandReturnObject()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1186: undefined
reference to `lldb::SBListener::~SBListener()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1175: undefined
reference to `lldb::SBError::~SBError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1146: undefined
reference to `lldb::SBCommunication::~SBCommunication()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1142: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1131: undefined
reference to `lldb::SBCommunication::~SBCommunication()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1078: undefined
reference to `lldb_utility::PseudoTerminal::~PseudoTerminal()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `Driver::ReadyForCommand()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1395: undefined
reference to `lldb::SBBroadcaster::BroadcastEventByType(unsigned int, bool)'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `sigwinch_handler(int)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1411: undefined
reference to `lldb::SBDebugger::SetInternalVariable(char const*, char
const*, char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1411: undefined
reference to `lldb::SBError::~SBError()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `sigint_handler(int)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1425: undefined
reference to `lldb::SBDebugger::DispatchInputInterrupt()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/Driver.o: In
function `main':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1437: undefined
reference to `lldb::SBDebugger::Initialize()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1439: undefined
reference to `lldb::SBHostOS::ThreadCreated(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1452: undefined
reference to `lldb::SBError::Fail() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1454: undefined
reference to `lldb::SBError::GetCString() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1451: undefined
reference to `lldb::SBError::~SBError()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.cpp:1464: undefined
reference to `lldb::SBDebugger::Terminate()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::ElCompletionFn(editline*, int)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:57: undefined
reference to `el_get'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::HandleCompletion(editline*, int)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:72: undefined
reference to `el_line'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:73: undefined
reference to `lldb::SBStringList::SBStringList()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:81: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:81: undefined
reference to `lldb::SBCommandInterpreter::HandleCompletion(char const*, char
const*, char const*, int, int, lldb::SBStringList&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:76: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:85: undefined
reference to `el_insertstr'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:90: undefined
reference to `el_deletestr'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:91: undefined
reference to `lldb::SBStringList::GetStringAtIndex(unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:91: undefined
reference to `el_insertstr'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:96: undefined
reference to `lldb::SBStringList::GetStringAtIndex(unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:99: undefined
reference to `el_insertstr'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:113: undefined
reference to `lldb::SBStringList::GetStringAtIndex(unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:131: undefined
reference to `lldb::SBStringList::GetStringAtIndex(unsigned long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:144: undefined
reference to `el_getc'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:73: undefined
reference to `lldb::SBStringList::~SBStringList()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:184: undefined
reference to `lldb::SBBroadcaster::SBBroadcaster(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:178: undefined
reference to `lldb::SBHostOS::GetProgramFileSpec()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:178: undefined
reference to `lldb::SBFileSpec::GetFilename() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:178: undefined
reference to `el_init'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:178: undefined
reference to `lldb::SBFileSpec::~SBFileSpec()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:179: undefined
reference to `history_init'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:187: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:188: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:189: undefined
reference to `history'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:189: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:192: undefined
reference to `el_source'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:196: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:197: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:198: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:199: undefined
reference to `el_set'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:202: undefined
reference to `history'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:203: undefined
reference to `history'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `~IOChannel':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:234: undefined
reference to `history_end'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:240: undefined
reference to `el_end'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:227: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::HistorySaveLoad(bool)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:253: undefined
reference to `lldb::SBHostOS::GetProgramFileSpec()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:253: undefined
reference to `lldb::SBFileSpec::GetFilename() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:253: undefined
reference to `lldb::SBFileSpec::~SBFileSpec()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:254: undefined
reference to `lldb::SBFileSpec::ResolvePath(char const*, char*, unsigned
long)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:258: undefined
reference to `history'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:260: undefined
reference to `history'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::LibeditGetInput(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:311: undefined
reference to `el_gets'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:323: undefined
reference to `history'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::Run()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:352: undefined
reference to `lldb::SBListener::SBListener(char const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:355: undefined
reference to `lldb::SBDebugger::GetCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:355: undefined
reference to `lldb::SBCommandInterpreter::GetBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:355: undefined
reference to `lldb::SBCommandInterpreter::~SBCommandInterpreter()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:359: undefined
reference to `lldb::SBListener::StartListeningForEvents(lldb::SBBroadcaster
const&, unsigned int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:362: undefined
reference to `lldb::SBListener::StartListeningForEvents(lldb::SBBroadcaster
const&, unsigned int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:366: undefined
reference to `lldb::SBListener::StartListeningForEvents(lldb::SBBroadcaster
const&, unsigned int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:369: undefined
reference to `lldb::SBBroadcaster::BroadcastEventByType(unsigned int, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:373: undefined
reference to `lldb::SBEvent::SBEvent()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:375: undefined
reference to `lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:376: undefined
reference to `lldb::SBEvent::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:379: undefined
reference to `lldb::SBEvent::GetType() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:381: undefined
reference to `lldb::SBEvent::GetBroadcaster() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:381: undefined
reference to `lldb::SBBroadcaster::IsValid() const'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:381: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:383: undefined
reference to `lldb::SBEvent::BroadcasterMatchesPtr(lldb::SBBroadcaster
const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:408: undefined
reference to `lldb::SBEvent::SBEvent(unsigned int, char const*, unsigned
int)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:409: undefined
reference to `lldb::SBBroadcaster::BroadcastEvent(lldb::SBEvent const&,
bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:408: undefined
reference to `lldb::SBEvent::~SBEvent()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:417: undefined
reference to `lldb::SBEvent::BroadcasterMatchesRef(lldb::SBBroadcaster
const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:423: undefined
reference to `lldb::SBEvent::GetCStringFromEvent(lldb::SBEvent const&)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:435: undefined
reference to `lldb::SBEvent::BroadcasterMatchesPtr(lldb::SBBroadcaster
const*)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:373: undefined
reference to `lldb::SBEvent::~SBEvent()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:445: undefined
reference to `lldb::SBBroadcaster::BroadcastEventByType(unsigned int, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:355: undefined
reference to `lldb::SBBroadcaster::~SBBroadcaster()'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:352: undefined
reference to `lldb::SBListener::~SBListener()'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::Start()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:457: undefined
reference to `lldb::SBHostOS::ThreadCreate(char const*, void* (*)(void*),
void*, lldb::SBError*)'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::Stop()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:468: undefined
reference to `lldb::SBBroadcaster::BroadcastEventByType(unsigned int, bool)'
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:477: undefined
reference to `lldb::SBHostOS::ThreadJoin(unsigned long, void**,
lldb::SBError*)'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::RefreshPrompt()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:496: undefined
reference to `el_set'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::OutWrite(char const*, unsigned long, bool)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:521: undefined
reference to
`lldb::SBDebugger::NotifyTopInputReader(lldb::InputReaderAction)'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `IOChannel::ErrWrite(char const*, unsigned long, bool)':
/home/jo/lldb/llvm/tools/lldb/tools/driver/IOChannel.cpp:536: undefined
reference to
`lldb::SBDebugger::NotifyTopInputReader(lldb::InputReaderAction)'
/home/jo/lldb/build/tools/lldb/tools/driver/Debug+Asserts/IOChannel.o: In
function `Driver::EditlineReaderIsTop()':
/home/jo/lldb/llvm/tools/lldb/tools/driver/Driver.h:132: undefined reference
to `lldb::SBDebugger::InputReaderIsTopReader(lldb::SBInputReader const&)'
collect2: ld returned 1 exit status
make[4]: *** [/home/jo/lldb/build/Debug+Asserts/bin/lldb] Error 1
make[4]: Leaving directory `/home/jo/lldb/build/tools/lldb/tools/driver'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/jo/lldb/build/tools/lldb/tools'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/jo/lldb/build/tools/lldb'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/jo/lldb/build/tools'
make: *** [all] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20111022/cf8c2db2/attachment.html>


More information about the lldb-dev mailing list