[bt-devel] am I stupid?

Joachim Ansorg bt-devel@crosswire.org
Mon, 23 Oct 2000 20:56:14 +0000


No, you are not stupid. It was hard for me to get it working, too.

Are you sure your run configure with --enable-shared?
Do a complete distclean
(make distclean; find . -name Makefile.in | xargs rm -f; make -f 
Makefile.cvs; ./configure --enable-shared; make).



> I don't seem to be able to compile:
>
> ..libs/cswordbackend.o: In function `CSwordBackend::CSwordBackend(int)':
> ..libs/cswordbackend.o(.text+0x3c): undefined reference to
> `CBackend::CBackend(void)'
> ..libs/cswordbackend.o(.text+0x148): undefined reference to
> `CBackend::~CBackend(void)'
> ..libs/cswordbackend.o(.data+0x0): undefined reference to `CBackend
> type_info node'
> ..libs/cswordbackend.o: In function `CSwordBackend type_info function':
> ..libs/cswordbackend.o(.gnu.linkonce.t.__tf13CSwordBackend+0x25): undefined
> reference to `CBackend type_info function'
> collect2: ld returned 1 exit status
> make[4]: *** [libsword_backend.la.closure] Error 1
>
> Martin

Have a nice day, Martin!
Some things are still buggy but the advantage is that it's faster! It uses 
less memory (at least I think :) and displays the texts faster. Caching is 
not yet working, but later. Searching is basically working, but the percent 
display is not working (is it possible that the extern cms_... are not 
working with shared libs?).

--Joachim