[bt-devel] problem building BT and sword

Mark Lybarger bt-devel@crosswire.org
Tue, 06 Nov 2001 21:12:18 -0500


Here are the errors I am seeing after changing sword to have: 
"buildshare := no". Maybe the compiler isn't seeing a library?

make[1]: Entering directory `/home/mark/bibletime/sword/tests'
gcc -I../include/ -D_GNU_SOURCE -D_GNU_SOURCE -pipe -Wall -Wno-format 
-pedantic -pedantic  -fomit-frame-pointer -ggdb -O0 -DUSBINARY -m486 -o 
keytest keytest.cpp   -L../lib/  -lsword -lstdc++ -lz
../lib//libsword.a(swkey.o): In function `SWKey type_info function':
/home/mark/bibletime/sword/src/keys/../../include/swkey.h:12: undefined 
reference to `stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::SWKey(SWKey const &)':
/home/mark/bibletime/sword/src/keys/swkey.cpp:36: undefined reference to 
`stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::setText(char const *)':
/home/mark/bibletime/sword/src/keys/swkey.cpp:115: undefined reference 
to `stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::copyFrom(SWKey const &)':
/home/mark/bibletime/sword/src/keys/swkey.cpp:127: undefined reference 
to `stdstr(char **, char const *)'
../lib//libsword.a(versekey.o): In function `VerseKey::setLocale(char 
const *)':
/home/mark/bibletime/sword/src/keys/versekey.cpp:149: undefined 
reference to `stdstr(char **, char const *)'
../lib//libsword.a(versekey.o):/home/mark/bibletime/sword/src/keys/versekey.cpp:290: 
more undefined references to `stdstr(char **, char const *)' follow
../lib//libsword.a(versekey.o): In function 
`VerseKey::getBookAbbrev(char const *)':
/home/mark/bibletime/sword/src/keys/versekey.cpp:309: undefined 
reference to `strstrip(char *)'
../lib//libsword.a(versekey.o): In function 
`VerseKey::ParseVerseList(char const *, char const *, bool)':
/home/mark/bibletime/sword/src/keys/versekey.cpp:419: undefined 
reference to `isroman'
/home/mark/bibletime/sword/src/keys/versekey.cpp:422: undefined 
reference to `from_rom'
/home/mark/bibletime/sword/src/keys/versekey.cpp:430: undefined 
reference to `stricmp(char const *, char const *)'
/home/mark/bibletime/sword/src/keys/versekey.cpp:430: undefined 
reference to `stricmp(char const *, char const *)'


Chris Kujawa wrote:

> MarK:
> 
> I had to install completely clean about a week ago, and aside from
> a minor alteration to the source, I had no issues.  I looked at the error 
> messages you were getting and they are nothing like what I had seen.
> I'll watch for the errors you post tonite and what they have to say.
> 
> Chris
>