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

Jaak Ristioja jaak at ristioja.ee
Fri Nov 22 12:42:28 MST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Scott!

Using a terminal, please change your current directory to your
BibleTime build directory, e.g. "cd bibletime.git/build" usually.
Next, run "make VERBOSE=1" and paste us the output of this. Also,
please tell us to which directory did you install the Sword library.
Did you have a previous version of Sword installed somewhere? Are you
building a released BibleTime version or the development sources from
our git repository "master" branch?

I suspect the build system finds an uncompatible (old?) version of the
Sword library which is why linking with it fails. If you're using our
latest git sources, you might want to try to pass
 -D CMAKE_PREFIX_PATH=/path/to/sword/installation
to the cmake command when building BibleTime.

Blessings,
Jaak

On 22.11.2013 15:38, Scott Thomas wrote:
> 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
> 
> 
> _______________________________________________ bt-devel mailing
> list bt-devel at crosswire.org 
> http://www.crosswire.org/mailman/listinfo/bt-devel
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQgcBAEBAgAGBQJSj7OeAAoJELozJlbjIn79VGRAAL6piTMzYshC6fREmuehjTZH
q2igfRx+osx3E/6uvPYuMF76OqgIc2R2TJBbndYT4GPgcTAoAnZcINmPGOCGt3hA
bvZxJpNWqiBc6lUDYNkFaejFydJgUHQNEBwgVb2LelvZpDOya7RDszzbBSq1zlwy
6Ur/dxhwrddqlpAxz1+72gcrisesGPN8oV/deca5IzYYKQMaZY7FtkUjYES7D1aF
xCmhoDwZAUmvR+Xj6JtIoa20imZl+c+LwhDkczHBCNg0iXPrgGjAZCsXPjGQUzVf
zab9XHf0DokGFh5UrFTdm6yGc+T59twuiRScroBk/9WJVXNdiZEldjZGqeJYhCm3
jlUk4iLBHuCHztwioKzRC7V5grZpVuGuSqKH+Xthoho9kUU5col09surdPcPvapn
CoUeFpjG/uCcRNklVmd231xV66Rmmo2f+hP/Uv6n0BMoVwrFxLYGbjroy1/IKVU9
3bUXLKQqia2747moOxIWgfd0QOIBQaDqoFDeNC783fc1GQBkWkzqDwMCqMwXLIZo
LLL2pyv2QeBA/5/PRcdaPmz4CFi4Zv/pAIKZwnAbwyK8sPZrgcJN2N8RoOAG6VJ8
5iG4bM1xnHz/94BlVWek9NKUz+yx+byEWa65T0xBGcZkHVDoqVo8ss+Y9ck/wf5F
aXxFTrvJnNYeaKT2yVWZrifFSI638WTDIZaIq+BmwnS4H2aOicknTmSIJGKI9eQv
b8xvqIQ6n3JeXX2+hjsKx5gBuFZpkFsLfx80VzflO1kwBAxSJjYyHWfkWT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Fqwzd06YD8esU5vZzC+wKmKpkhc
fC1FbznRIfwxpIuYYUTgqjWHVs85vGECnhDUUvx+7lrds6wkmrsj3pk+Lw2TXNMk
A9R9HaaAWTEdnnyJOvMdinYOdHbva7s/CuYm5TNYYkAy9SDdip+oL4VkuDCaEI5s
Cq0JiiDpTEpSpMv3npSbSCuH41YrCknmDdKxhiHbvEX5PF/pOdHN0HK/5Xoneu51
RXiUkce+TkkqR8w2mAC5ku5cU8IIsW7JPcraZ6NCGKMrKVjWS04qwvtL5sg1hHq6
bPYWYygU+GqpXCFrGMPExymg2v2lYVznNuHHJr6OiNhlehuJ/UTGdQMq9OhpeNHg
qco71adChc9WjJeeHlQSmTiL+K+WlE8QZhIShfy5LmiexusehQgEoV0lX6Gjubwc
OXch9K5orTCzzaUZT2LVDXtWduueBCsUu5smFWozZM7tPRmExiI7dQ6iOccR5dB0
bcDpVrAPYaueGX1s9oKDUyaifThw6XdBg7ngDLGH/Kx32CfIuFrpES/C2/kRvE6g
lfvnzYFpoBFopKGVbSGK4hGMNQKTHbYEf2ShAtC7lCi0cJZA2sDU2M6qjySxsjaU
DZHLlFMFJyJdHs94WGdpxr8pwDptZoL/vFoFCOfu8hja51Ne34gumYEUH9VRrRZZ
GWEnTd+J0Kv0UKimI1gaAlDyF8jPxWomdg0ZAN3pRibXTTcL4blglPPGJL2ZdBN6
WoGir04MTMApSBoPMD1ECHJB8pUmQPW2e8wpL7KceYO1U5DmSjfYpzNb6gkb3gHI
vmRXezjNkhYqM8cfYV8g1KY4PO8FAQ4FYSb/PU115R5wELQI6N2SZXRECa4kdpE1
qdpAh2I6rKL3uPBkr3nb
=VwtG
-----END PGP SIGNATURE-----



More information about the bt-devel mailing list