[sword-devel] compile problem

Joachim Ansorg sword-devel@crosswire.org
Tue, 10 Jul 2001 15:42:10 +0200


I think make clean should help.

Joachim


> I'm still getting this compile error and wonder
> if somebody could help me...
>
> thank you
>
> Martin
>
> ----
> 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(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+0x67ba): undefined reference to `zText::zText(char
>
> const *,
> char const *, char const *, int, SWCompress *, SWDisplay *, bool)'
> swmgr.o(.text+0x6c1a): undefined reference to `RawFiles::RawFiles(char
> const *, char
> const *, char const *, SWDisplay *, bool)' ../lib//libsword.a(rawcom.o): In
> function
> `RawCom::RawCom(char const *, char const *, char const *, SWDisplay *,
> bool)':
> rawcom.o(.text+0x60b): undefined reference to `SWCom::SWCom(char const *,
> char const
> *, SWDisplay *, bool)' ../lib//libsword.a(rawcom.o): In function
> `RawCom::~RawCom(void)': rawcom.o(.text+0x693): undefined reference to
> `SWCom::~SWCom(void)' ../lib//libsword.a(rawcom.o)(.rodata+0x4c): undefined
> reference
> to `SWCom type_info node'
> ../lib//libsword.a(rawcom.o)(.gnu.linkonce.d.__vt_6RawCom.5SWCom+0x50):
> undefined
> reference to `SWCom::CreateKey(void)' ../lib//libsword.a(rawcom.o): In
> function
> `RawCom type_info function': rawcom.o(.gnu.linkonce.t.__tf6RawCom+0x13):
> undefined
> reference to `SWCom type_info function' ../lib//libsword.a(zcom.o): In
> function
> `zCom::zCom(char const *, char const *, char const *, int, SWCompress *,
> SWDisplay *,
> bool)': zcom.o(.text+0xc18): undefined reference to `SWCom::SWCom(char
> const *, char
> const *, SWDisplay *, bool)' ../lib//libsword.a(zcom.o): In function
> `zCom::~zCom(void)': zcom.o(.text+0xce0): undefined reference to
> `SWCom::~SWCom(void)' ../lib//libsword.a(zcom.o)(.rodata+0x50): undefined
> reference
> to `SWCom type_info node'
> ../lib//libsword.a(zcom.o)(.gnu.linkonce.d.__vt_4zCom.5SWCom+0x50):
> undefined
> reference to `SWCom::CreateKey(void)' ../lib//libsword.a(zcom.o): In
> function `zCom
> type_info function': zcom.o(.gnu.linkonce.t.__tf4zCom+0x13): undefined
> reference to
> `SWCom type_info function' ../lib//libsword.a(hrefcom.o): In function
> `HREFCom::HREFCom(char const *, char const *, char const *, char const *,
> SWDisplay
> *)': hrefcom.o(.text+0x278): undefined reference to `SWCom::SWCom(char
> const *, char
> const *, SWDisplay *, bool)' hrefcom.o(.text+0x2da): undefined reference to
> `SWCom::~SWCom(void)' ../lib//libsword.a(hrefcom.o): In function
> `HREFCom::~HREFCom(void)': hrefcom.o(.text+0x349): undefined reference to
> `SWCom::~SWCom(void)' ../lib//libsword.a(hrefcom.o)(.rodata+0x54):
> undefined
>
> reference to `SWCom type_info node'
> ../lib//libsword.a(hrefcom.o)(.gnu.linkonce.d.__vt_7HREFCom.5SWCom+0x50):
> undefined
> reference to `SWCom::CreateKey(void)' ../lib//libsword.a(hrefcom.o): In
> function
> `HREFCom type_info function': hrefcom.o(.gnu.linkonce.t.__tf7HREFCom+0x13):
> undefined
> reference to `SWCom type_info function' ../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::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' 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

----------------------------------------
Content-Type: application/octet-stream; charset="us-ascii"; name="Anhang: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------