[bt-devel] Newbie alert: compile failed on OS-X Mavericks

Scott Thomas scott_pin at yahoo.com
Fri Nov 22 06:38:02 MST 2013


Greetings all,

My Macbook was recently upgraded to Mavericks, and, since I hadn't yet install Bibletime on it anyway (usually used it on Linux), I followed the steps at http://devel.bibletime.info/wiki/BuildingBibleTime (had to install a fresh MacPorts for Mavericks, command-line tools, then prerequisites), and compiled Sword, all with no problems.

Compilation of debug version of Bibletime resulted in:

<snip>
Linking CXX executable BibleTime
Undefined symbols for architecture x86_64:
  "sword::SWOptionFilter::SWOptionFilter(char const*, char const*, std::list<sword::SWBuf, std::allocator<sword::SWBuf> > const*)", referenced from:
      Filters::OSISMorphSegmentation::OSISMorphSegmentation() in osismorphsegmentation.cpp.o
      Filters::OSISMorphSegmentation::OSISMorphSegmentation() in osismorphsegmentation.cpp.o
  "sword::SWMgr::findConfig(char*, char**, char**, std::list<sword::SWBuf, std::allocator<sword::SWBuf> >*, sword::SWConfig**)", referenced from:
      CSwordBackend::reloadModules(CSwordBackend::SetupChangedReason) in cswordbackend.cpp.o
  "sword::SWMgr::createModule(char const*, char const*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
  "sword::SWMgr::AddRawFilters(sword::SWModule*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
  "sword::SWMgr::AddLocalOptions(sword::SWModule*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&, std::_Rb_tree_iterator<std::pair<sword::SWBuf const, sword::SWBuf> >, std::_Rb_tree_iterator<std::pair<sword::SWBuf const, sword::SWBuf> >)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
  "sword::SWMgr::AddStripFilters(sword::SWModule*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
  "sword::SWMgr::AddStripFilters(sword::SWModule*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&, std::_Rb_tree_iterator<std::pair<sword::SWBuf const, sword::SWBuf> >, std::_Rb_tree_iterator<std::pair<sword::SWBuf const, sword::SWBuf> >)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
  "sword::SWMgr::AddGlobalOptions(sword::SWModule*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&, std::_Rb_tree_iterator<std::pair<sword::SWBuf const, sword::SWBuf> >, std::_Rb_tree_iterator<std::pair<sword::SWBuf const, sword::SWBuf> >)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
  "sword::SWMgr::AddEncodingFilters(sword::SWModule*, sword::multimapwithdefault<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf> >&)", referenced from:
      vtable for CSwordBackend in moc_cswordbackend.cxx.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [BibleTime] Error 1
make[1]: *** [CMakeFiles/BibleTime.dir/all] Error 2
make: *** [all] Error 2

I'm not a "real" developer, so am not sure how to interpret the errors.

Any help/suggestions greatly appreciated.

Thanks in advance,

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/bt-devel/attachments/20131122/8d2afb80/attachment.html>


More information about the bt-devel mailing list