[sword-devel] Compiling Sword 1.5.2

Franklin Bratcher sword-devel@crosswire.org
Mon, 17 Sep 2001 12:55:54 -0500


This is under Mandrake 8.0, everything compiles fine then this happens...

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(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+0x7237): undefined reference to `HREFCom::HREFCom(char const *, 
char const *, char const *, char const *, SWDisplay *)'
../lib//libsword.a(rawtext.o): In function `RawText::RawText(char const *, 
char const *, char const *, SWDisplay *, bool)':
rawtext.o(.text+0x3b): undefined reference to `SWText::SWText(char const *, 
char const *, SWDisplay *, bool)'
rawtext.o(.text+0xb9b): undefined reference to `SWText::~SWText(void)'
../lib//libsword.a(rawtext.o): In function `RawText::~RawText(void)':
rawtext.o(.text+0x3902): undefined reference to `SWText::~SWText(void)'
../lib//libsword.a(rawtext.o)(.data+0x0): 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+0x12): undefined reference to `SWText 
type_info function'
../lib//libsword.a(ztext.o): In function `zText::zText(char const *, char 
const *, char const *, int, SWCompress *, SWDisplay *, bool)':
ztext.o(.text+0x84f): undefined reference to `SWText::SWText(char const *, 
char const *, SWDisplay *, bool)'
../lib//libsword.a(ztext.o): In function `zText::~zText(void)':
ztext.o(.text+0x930): undefined reference to `SWText::~SWText(void)'
../lib//libsword.a(ztext.o)(.data+0x8): 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+0xe): undefined reference to `SWText 
type_info function'
collect2: ld returned 1 exit status
make[1]: *** [keytest] Error 1
make[1]: Leaving directory `/home/adarcaan/sword-1.5.2/tests'
make: *** [tests/targets] Error 2

----


Any suggestions on what is going on here?