[sword-devel] undefined reference to `sword::isroman(char const*, int)'

Teus Benschop teusjannette at gmail.com
Tue Jun 2 11:04:48 MST 2009


When compiling sword from svn trunk just now, I got the following error
message:

./lib/.libs/libsword.so: undefined reference to `sword::isroman(char
const*, int)'

I tried to search on Google for this exact message, but could not find
it. Is there anything I can do to correct this situation?

Thanks,

Teus.

PS: Full message:

make[1]: Entering directory `/home/teus/documents/dev/sword'
/bin/bash ./libtool --tag=CXX   --mode=link g++ -O3 -ftemplate-depth-25
-DCURLAVAILABLE -I/usr/include -I/usr/lib -DUSELUCENE    -o buildtest
buildtest.o ./lib/libsword.la -lz  -L/usr/lib -lclucene
libtool: link: g++ -O3 -ftemplate-depth-25 -DCURLAVAILABLE
-I/usr/include -I/usr/lib -DUSELUCENE -o .libs/buildtest
buildtest.o  ./lib/.libs/libsword.so /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so -llber -lldap -lrt -lgssapi_krb5 /usr/lib/libgnutls.so -L/usr/lib /usr/lib/libtasn1.so /lib/libgcrypt.so -lz -lclucene
./lib/.libs/libsword.so: undefined reference to `sword::isroman(char
const*, int)'
./lib/.libs/libsword.so: undefined reference to `sword::SWBuf::nullStr'
./lib/.libs/libsword.so: undefined reference to `sword::SWBuf::junkBuf'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::SWBuf(char, unsigned long)'
./lib/.libs/libsword.so: undefined reference to `sword::URL::encode(char
const*)'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::setFormatted(char const*, ...)'
./lib/.libs/libsword.so: undefined reference to `ftpparse'
./lib/.libs/libsword.so: undefined reference to `sword::from_rom(char
const*)'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::append(char const*, long)'
./lib/.libs/libsword.so: undefined reference to `untargz'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::SWBuf(char const*, unsigned long)'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::appendFormatted(char const*, ...)'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::setSize(unsigned long)'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::insert(unsigned long, char const*, unsigned long, long)'
./lib/.libs/libsword.so: undefined reference to
`sword::SWBuf::SWBuf(sword::SWBuf const&, unsigned long)'
collect2: ld returned 1 exit status
make[1]: *** [buildtest] Error 1
make[1]: Leaving directory `/home/teus/documents/dev/sword'
make: *** [all-recursive] Error 1





More information about the sword-devel mailing list