[sword-devel] SWORD lib does not compile without ICU

DM Smith dmsmith at crosswire.org
Mon Apr 27 10:53:24 MST 2009


I was testing the compile of osis2mod without ICU, by commenting out ICU 
in usrinst.sh and I get the following error:
I know I advocate that ICU is necessary, but....

/bin/sh ./libtool --tag=CXX   --mode=link g++ -g3 -O0 -Wall -Werror 
-ftemplate-depth-25 -DCURLAVAILABLE -I/usr/include -I/usr/lib64 
-DUSELUCENE    -o buildtest buildtest.o ./lib/libsword.la -lz  
-L/usr/lib64 -lclucene
mkdir .libs
g++ -g3 -O0 -Wall -Werror -ftemplate-depth-25 -DCURLAVAILABLE 
-I/usr/include -I/usr/lib64 -DUSELUCENE -o buildtest buildtest.o  
./lib/.libs/libsword.a -lcurl -L/usr/lib64 -lz -lclucene  
./lib/.libs/libsword.a(utf8greekaccents.o): In function 
`__static_initialization_and_destruction_0':
/home/dmsmith/swordsrc/sword/lib/../src/modules/filters/utf8greekaccents.cpp:30: 
undefined reference to `sword::UTF8NFKD::UTF8NFKD()'
/home/dmsmith/swordsrc/sword/lib/../src/modules/filters/utf8greekaccents.cpp:30: 
undefined reference to `sword::UTF8NFKD::~UTF8NFKD()'
./lib/.libs/libsword.a(utf8greekaccents.o): In function 
`sword::UTF8GreekAccents::processText(sword::SWBuf&, sword::SWKey 
const*, sword::SWModule const*)':
/home/dmsmith/swordsrc/sword/lib/../src/modules/filters/utf8greekaccents.cpp:55: 
undefined reference to `sword::UTF8NFKD::processText(sword::SWBuf&, 
sword::SWKey const*, sword::SWModule const*)'




More information about the sword-devel mailing list