I just tried it again. It rebuilt the whole sword lib
just to stop at compiling the test program(s) again.
What else could it be?
Martin
P.S. I think the errors look a little different now.
That's why I'll attach them.
Could it be that there is some problem with the STL on my
system? Or are these functions included in sword itself?
----
make[1]: Entering directory `/home/gruner/KDesktop/sword-1.5.2/tests'
gcc -I../include/ -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -DNDEBUG -pipe -Wall
-Wno-format -pedantic -pedantic -fomit-frame-pointer -s -O3 -DUSBINARY
-m486 -o
keytest keytest.cpp -L../lib/ -lsword -lstdc++ -lz
../lib//libsword.a(swkey.o): In function `SWKey::SWKey(char const *)':
swkey.o(.text+0x52): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::SWKey(SWKey const &)':
swkey.o(.text+0xa8): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::clone(void) const':
swkey.o(.text+0x114): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::operator=(char const *)':
swkey.o(.text+0x1f5): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(swkey.o): In function `SWKey::operator=(SWKey const &)':
swkey.o(.text+0x231): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(versekey.o)(.text+0x1b9): more undefined references to
`stdstr(char **, char const *)' follow
../lib//libsword.a(versekey.o): In function `VerseKey::getBookAbbrev(char
*)':
versekey.o(.text+0x500): undefined reference to `strstrip(char *)'
../lib//libsword.a(versekey.o): In function `VerseKey::ParseVerseList(char
const *,
char const *, bool)':
versekey.o(.text+0xd25): undefined reference to `isroman'
versekey.o(.text+0xd4a): undefined reference to `from_rom'
versekey.o(.text+0xd6b): undefined reference to `stricmp(char const *, char
const *)'
versekey.o(.text+0xd80): undefined reference to `stricmp(char const *, char
const *)'
versekey.o(.text+0x1acf): undefined reference to `stricmp(char const *, char
const *)'
versekey.o(.text+0x1f6a): undefined reference to `isroman'
versekey.o(.text+0x1f8f): undefined reference to `from_rom'
versekey.o(.text+0x1fb0): undefined reference to `stricmp(char const *, char
const *)'
versekey.o(.text+0x1fc5): undefined reference to `stricmp(char const *, char
const *)'
versekey.o(.text+0x2d3f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(versekey.o): In function `VerseKey::operator char const
*(void)
const':
versekey.o(.text+0x3ca0): undefined reference to `stdstr(char **, char const
*)'../lib//libsword.a(versekey.o): In function `VerseKey::freshtext(void)
const':
versekey.o(.text+0x4de0): undefined reference to `stdstr(char **, char const
*)'../lib//libsword.a(localemgr.o): In function
`LocaleMgr::setDefaultLocaleName(char
const *)':
localemgr.o(.text+0x1841): undefined reference to `stdstr(char **, char
const *)'
../lib//libsword.a(swmgr.o): In function `SWMgr::SWMgr(char const *, bool)':
swmgr.o(.text+0x1990): undefined reference to `stdstr(char **, char const
*)'
swmgr.o(.text+0x1a1e): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(swmgr.o)(.text+0x1a7e): more undefined references to
`stdstr(char
**, char const *)' follow
../lib//libsword.a(swmgr.o): In function
`SWMgr::CreateMod(basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >,
basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >,
multimapwithdefault<basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0> >, basic_string<char,
string_char_traits<char>,
__default_alloc_template<true, 0> >, less<basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> > > > &)':
swmgr.o(.text+0x5ec9): undefined reference to `stricmp(char const *, char
const *)'
swmgr.o(.text+0x5ef9): undefined reference to `stricmp(char const *, char
const *)'
swmgr.o(.text+0x5f2e): undefined reference to `stricmp(char const *, char
const *)'
swmgr.o(.text+0x5f5f): undefined reference to `stricmp(char const *, char
const *)'
swmgr.o(.text+0x629e): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(swmgr.o)(.text+0x62d9): more undefined references to
`stricmp(char
const *, char const *)' follow
../lib//libsword.a(swmgr.o): In function
`SWMgr::CreateMod(basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >,
basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >,
multimapwithdefault<basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0> >, basic_string<char,
string_char_traits<char>,
__default_alloc_template<true, 0> >, less<basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> > > > &)':
swmgr.o(.text+0x700a): undefined reference to `HREFCom::HREFCom(char const
*, char
const *, char const *, char const *, SWDisplay *)'
swmgr.o(.text+0x706b): undefined reference to `stricmp(char const *, char
const *)'
swmgr.o(.text+0x715b): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(swmgr.o): In function `SWMgr::AddRenderFilters(SWModule
*,
multimapwithdefault<basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0> >, basic_string<char,
string_char_traits<char>,
__default_alloc_template<true, 0> >, less<basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> > > > &)':
swmgr.o(.text+0x988e): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(swmgr.o): In function `SWMgr::AddStripFilters(SWModule *,
multimapwithdefault<basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0> >, basic_string<char,
string_char_traits<char>,
__default_alloc_template<true, 0> >, less<basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> > > > &)':
swmgr.o(.text+0xa2b9): undefined reference to `stricmp(char const *, char
const *)'
swmgr.o(.text+0xa3a9): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(swmgr.o)(.text+0xa3f9): more undefined references to
`stricmp(char
const *, char const *)' follow
../lib//libsword.a(filemgr.o): In function `FileDesc::FileDesc(FileMgr *,
char *,
int, int)':
filemgr.o(.text+0x920): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(filemgr.o): In function `FileMgr::open(char *, int,
int)':
filemgr.o(.text+0xa8b): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(swlocale.o): In function `SWLocale::SWLocale(char const
*)':
swlocale.o(.text+0x820): undefined reference to `stdstr(char **, char const
*)'
swlocale.o(.text+0xf00): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawtext.o): In function `RawText::RawText(char const *,
char const
*, char const *, SWDisplay *, bool)':
rawtext.o(.text+0x2c): undefined reference to `SWText::SWText(char const *,
char
const *, SWDisplay *, bool)'
rawtext.o(.text+0xd1b): undefined reference to `SWText::~SWText(void)'
../lib//libsword.a(rawtext.o): In function `RawText::getRawEntry(void)':
rawtext.o(.text+0xd8f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawtext.o): In function `RawText::Search(char const *,
int, int,
SWKey *, bool *, void (*)(char, void *), void *)':
rawtext.o(.text+0x27e5): undefined reference to `stricmp(char const *, char
const *)'
rawtext.o(.text+0x29fa): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawtext.o): In function `RawText::operator<<(char const
*)':
rawtext.o(.text+0x36ef): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawtext.o): In function `RawText::operator<<(SWKey const
*)':rawtext.o(.text+0x382f): undefined reference to `stricmp(char const *,
char const
*)'
rawtext.o(.text+0x38d1): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawtext.o): In function `RawText::deleteEntry(void)':
rawtext.o(.text+0x3a7f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawtext.o): In function `RawText::~RawText(void)':
rawtext.o(.text+0x3c07): undefined reference to `SWText::~SWText(void)'
../lib//libsword.a(rawtext.o)(.rodata+0x100): undefined reference to `SWText
type_info node'
../lib//libsword.a(rawtext.o)(.gnu.linkonce.d.__vt_7RawText+0x50): undefined
reference to `SWText::CreateKey(void)'
../lib//libsword.a(rawtext.o): In function `RawText type_info function':
rawtext.o(.gnu.linkonce.t.__tf7RawText+0x18): undefined reference to `SWText
type_info function'
../lib//libsword.a(ztext.o): In function `zText::getRawEntry(void)':
ztext.o(.text+0x4f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(ztext.o): In function `zText::operator<<(char const *)':
ztext.o(.text+0x32f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(ztext.o): In function `zText::operator<<(SWKey const *)':
ztext.o(.text+0x4bf): undefined reference to `stricmp(char const *, char
const *)'
ztext.o(.text+0x561): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(ztext.o): In function `zText::deleteEntry(void)':
ztext.o(.text+0x70f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(ztext.o): In function `zText::zText(char const *, char
const *,
char const *, int, SWCompress *, SWDisplay *, bool)':
ztext.o(.text+0x858): undefined reference to `SWText::SWText(char const *,
char const
*, SWDisplay *, bool)'
../lib//libsword.a(ztext.o): In function `zText::~zText(void)':
ztext.o(.text+0x920): undefined reference to `SWText::~SWText(void)'
../lib//libsword.a(ztext.o)(.rodata+0x50): undefined reference to `SWText
type_info
node'
../lib//libsword.a(ztext.o)(.gnu.linkonce.d.__vt_5zText.6SWText+0x50):
undefined
reference to `SWText::CreateKey(void)'
../lib//libsword.a(ztext.o): In function `zText type_info function':
ztext.o(.gnu.linkonce.t.__tf5zText+0x13): undefined reference to `SWText
type_info
function'
../lib//libsword.a(rawcom.o): In function `RawCom::getRawEntry(void)':
rawcom.o(.text+0x4f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawcom.o): In function `RawCom::operator+=(int)':
rawcom.o(.text+0x247): undefined reference to `stricmp(char const *, char
const *)'
rawcom.o(.text+0x3d0): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawfiles.o): In function `RawFiles::getRawEntry(void)':
rawfiles.o(.text+0x4f): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawfiles.o): In function `RawFiles::operator<<(char const
*)':
rawfiles.o(.text+0x3af): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(rawfiles.o)(.text+0x78f): more undefined references to
`stricmp(char const *, char const *)' follow
../lib//libsword.a(rawld.o): In function `RawLD::getEntry(long)':
rawld.o(.text+0x2ab): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(rawld.o): In function `RawLD::RawLD(char const *, char
const *,
char const *, SWDisplay *, bool)':
rawld.o(.text+0x32b): undefined reference to `SWLD::SWLD(char const *, char
const *,
SWDisplay *, bool)'
../lib//libsword.a(rawld.o): In function `RawLD::~RawLD(void)':
rawld.o(.text+0x395): undefined reference to `SWLD::~SWLD(void)'
../lib//libsword.a(rawld.o)(.rodata+0x3c): undefined reference to `SWLD
type_info
node'
../lib//libsword.a(rawld.o)(.gnu.linkonce.d.__vt_5RawLD.4SWLD+0x28):
undefined
reference to `SWLD::KeyText(char const *)'
../lib//libsword.a(rawld.o)(.gnu.linkonce.d.__vt_5RawLD.4SWLD+0x50):
undefined
reference to `SWLD::CreateKey(void)'
../lib//libsword.a(rawld.o): In function `RawLD type_info function':
rawld.o(.gnu.linkonce.t.__tf5RawLD+0x13): undefined reference to `SWLD
type_info
function'
../lib//libsword.a(rawld4.o): In function `RawLD4::getEntry(long)':
rawld4.o(.text+0x2a6): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawld4.o): In function `RawLD4::RawLD4(char const *, char
const *,
char const *, SWDisplay *, bool)':
rawld4.o(.text+0x32b): undefined reference to `SWLD::SWLD(char const *, char
const *,
SWDisplay *, bool)'
../lib//libsword.a(rawld4.o): In function `RawLD4::~RawLD4(void)':
rawld4.o(.text+0x395): undefined reference to `SWLD::~SWLD(void)'
../lib//libsword.a(rawld4.o)(.rodata+0x3c): undefined reference to `SWLD
type_info
node'
../lib//libsword.a(rawld4.o)(.gnu.linkonce.d.__vt_6RawLD4.4SWLD+0x28):
undefined
reference to `SWLD::KeyText(char const *)'
../lib//libsword.a(rawld4.o)(.gnu.linkonce.d.__vt_6RawLD4.4SWLD+0x50):
undefined
reference to `SWLD::CreateKey(void)'
../lib//libsword.a(rawld4.o): In function `RawLD4 type_info function':
rawld4.o(.gnu.linkonce.t.__tf6RawLD4+0x13): undefined reference to `SWLD
type_info
function'
../lib//libsword.a(rawstr.o): In function `RawStr::RawStr(char const *,
int)':
rawstr.o(.text+0x46): undefined reference to `stdstr(char **, char const *)'
../lib//libsword.a(rawstr.o): In function `RawStr::settext(char const *,
char const
*)':
rawstr.o(.text+0x9cf): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawstr.o): In function `RawStr::createModule(char const
*)':
rawstr.o(.text+0x104c): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawstr4.o): In function `RawStr4::RawStr4(char const *,
int)':
rawstr4.o(.text+0x46): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawstr4.o): In function `RawStr4::settext(char const *,
char const
*)':
rawstr4.o(.text+0x98f): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(rawstr4.o)(.text+0xfec): more undefined references to
`stdstr(char
**, char const *)' follow
../lib//libsword.a(gbfstrongs.o): In function
`GBFStrongs::setOptionValue(char const
*)':
gbfstrongs.o(.text+0x966): undefined reference to `stricmp(char const *,
char const
*)'
../lib//libsword.a(gbffootnotes.o): In function
`GBFFootnotes::setOptionValue(char
const *)':
gbffootnotes.o(.text+0x976): undefined reference to `stricmp(char const *,
char const
*)'
../lib//libsword.a(gbfheadings.o): In function
`GBFHeadings::setOptionValue(char
const *)':
gbfheadings.o(.text+0x946): undefined reference to `stricmp(char const *,
char const
*)'
../lib//libsword.a(gbfmorph.o): In function `GBFMorph::setOptionValue(char
const *)':
gbfmorph.o(.text+0x966): undefined reference to `stricmp(char const *, char
const *)'
../lib//libsword.a(swmodule.o): In function `SWModule::SWModule(char const
*, char
const *, SWDisplay *, char *, bool)':
swmodule.o(.text+0x86): undefined reference to `stdstr(char **, char const
*)'
swmodule.o(.text+0x97): undefined reference to `stdstr(char **, char const
*)'
swmodule.o(.text+0xab): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(swmodule.o): In function `SWModule::Search(char const *,
int, int,
SWKey *, bool *, void (*)(char, void *), void *)':
swmodule.o(.text+0x7df): undefined reference to `stricmp(char const *, char
const *)'
swmodule.o(.text+0xc09): undefined reference to `stristr(char const *, char
const *)'
swmodule.o(.text+0xcab): undefined reference to `stristr(char const *, char
const *)'
../lib//libsword.a(swmodule.o): In function `SWModule::Name(char const *)':
swmodule.o(.text+0xf14): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(swmodule.o): In function `SWModule::Description(char
const *)':
swmodule.o(.text+0xf34): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(swmodule.o): In function `SWModule::Type(char const *)':
swmodule.o(.text+0xf54): undefined reference to `stdstr(char **, char const
*)'
../lib//libsword.a(swconfig.o): In function `SWConfig::Load(void)':
swconfig.o(.text+0x69b): undefined reference to `strstrip(char *)'
swconfig.o(.text+0x91d): undefined reference to `strstrip(char *)'
collect2: ld returned 1 exit status
make[1]: *** [keytest] Error 1
make[1]: Leaving directory `/home/gruner/KDesktop/sword-1.5.2/tests'
make: *** [tests/targets] Error 2
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
"