hello,

after experiencing major difficulties trying to compile the zim generation 
tools on ubuntu 8.04 i now tried to do so on a 10.04.2  x86_64 system, 
considerably more successful. but i'm still running into compile errors with 
zimwriter.

so far i installed repectively compiled & installed postgres, cxxtools, tntdb 
(./configure --without-mysql --without-sqlite) and zimlib. after these i tried 
to proceed with tntwriter on which make quit with the following errors:

libtool: link: g++ -g -O2 -o .libs/zimwriterdb dbsource.o filesource.o 
zimwriterdb.o  -lcxxtools -lzim -ltntdb ../src/.libs/libzimwriter.so
dbsource.o:(.rodata._ZTVN3zim6writer8DbSourceE[vtable for 
zim::writer::DbSource]+0x40): undefined reference to 
`zim::writer::ArticleSource::getCategory(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)'
dbsource.o:(.rodata._ZTVN3zim6writer9DbArticleE[vtable for 
zim::writer::DbArticle]+0x60): undefined reference to 
`zim::writer::Article::getNextCategory() const'
filesource.o:(.rodata._ZTVN3zim6writer10FileSourceE[vtable for 
zim::writer::FileSource]+0x40): undefined reference to 
`zim::writer::ArticleSource::getCategory(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)'
filesource.o:(.rodata._ZTVN3zim6writer11FileArticleE[vtable for 
zim::writer::FileArticle]+0x60): undefined reference to 
`zim::writer::Article::getNextCategory() const'
collect2: ld returned 1 exit status
make[2]: *** [zimwriterdb] Error 1
make[2]: Leaving directory `/home/jan/zim/zimwriter/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jan/zim/zimwriter/src'
make: *** [all-recursive] Error 1


tool versions on the system are as following:

GNU Make 3.81
autoconf (GNU Autoconf) 2.65
automake (GNU automake) 1.11.1
ltmain.sh (GNU libtool) 2.2.6b


i would really appreciate, if somebody could help me out with this.

thanks & best: jan.

--
jan böhme.   c/o di marcello, via cesare baronio 38, 00179 roma, italia
fon +39 06 78343720  mobil +39 327 1054199

_______________________________________________
dev-l mailing list
[email protected]
https://intern.openzim.org/mailman/listinfo/dev-l

Reply via email to