[sword-devel] cannot build sword from CVS

Troy A. Griffitts sword-devel@crosswire.org
Tue, 25 Jan 2000 17:19:05 -0700


> I tried to build sword-1.5x with sapphire (and later without) but get
> lots of undefined references. I get them whether I have the sapphire
> code included or not:

You have the latest code from CVS?

Have you tried a 'make clean' first?

Do you have a libsword.a or libsword.so anywhere else on your lib path?

Is anyone else having trouble compiling the CVS tree?

	-Troy.


> 
> The tests dir does also not compile, I took it out to try the other
> ones.
> A lib sword gets build:
> 
> 900308 Jan 25 10:05 libsword.a
> 
> Any idea?
> 
> g++  -I../include/ -D_GNU_SOURCE -DNDEBUG   -L../lib/ -lsword -lstdc++ -lz  ciph
> erraw.cpp   -o cipherraw
> /tmp/ccYg9tqc.o: In function `main':
> /tmp/ccYg9tqc.o(.text+0x10): undefined reference to `VerseKey::VerseKey(char con
> st *)'
> /tmp/ccYg9tqc.o(.text+0x8b): undefined reference to `RawVerse::RawVerse(char con
> st *, int)'
> /tmp/ccYg9tqc.o(.text+0xcf): undefined reference to `SWCipher::SWCipher(unsigned
>  char *)'
> /tmp/ccYg9tqc.o(.text+0x24c): undefined reference to `VerseKey::AutoNormalize(ch
> ar)'
> /tmp/ccYg9tqc.o(.text+0x25a): undefined reference to `VerseKey::Headings(char)'/tmp/ccYg9tqc.o(.text+0x268): undefined reference to `VerseKey::Index(long)'
> /tmp/ccYg9tqc.o(.text+0x275): undefined reference to `SWKey::Error(void)'
> /tmp/ccYg9tqc.o(.text+0x29d): undefined reference to `VerseKey::Index(void) cons
> t'
> /tmp/ccYg9tqc.o(.text+0x2ac): undefined reference to `VerseKey::Testament(void)const'
> /tmp/ccYg9tqc.o(.text+0x3af): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x42a): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x43c): undefined reference to `RawVerse::gettext(char, long, unsigned short, char *)'
> /tmp/ccYg9tqc.o(.text+0x49c): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x4cf): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x53a): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x598): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x5ce): undefined reference to `VerseKey::Testament(void)
> const'
> /tmp/ccYg9tqc.o(.text+0x687): undefined reference to `VerseKey::~VerseKey(void)'/tmp/ccYg9tqc.o(.text+0x6e7): undefined reference to `VerseKey::~VerseKey(void)'collect2: ld returned 1 exit status
> make[1]: *** [cipherraw] Error 1
> 
> --
> 
> best regards,
> Torsten Uhlmann
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> TUhlmann@gmx.de
> TUhlmann@debis.com
> 
> http://www.tuhlmann.purespace.de
> http://www.bibletime.de
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Wise men still seek him!