[Xapian-discuss] Static Library Problem

Colin Bell colinabell at gmail.com
Thu Apr 10 16:21:19 BST 2008


Hi All

I've just changed over to the static library for Xapian 1.0.6 and get  
this compile error from one of my files - the others all compile fine.

/lib/libxapian.a(flint_table.o): In function  
`FlintTable::read_tag(Cursor_*, std::basic_string<char,  
std::char_traits<char>, std::allocator<char> >*, bool) const':
backends/flint/flint_table.cc:1287: undefined reference to  
`inflateInit2_'
backends/flint/flint_table.cc:1305: undefined reference to `inflate'
backends/flint/flint_table.cc:1312: undefined reference to `inflate'
backends/flint/flint_table.cc:1339: undefined reference to `inflateEnd'
./lib/libxapian.a(flint_table.o): In function  
`FlintTable::add(std::basic_string<char, std::char_traits<char>,  
std::allocator<char> > const&, std::basic_string<char,  
std::char_traits<char>, std::allocator<char> >, bool)':
backends/flint/flint_table.cc:1059: undefined reference to  
`deflateInit2_'
backends/flint/flint_table.cc:1081: undefined reference to `deflate'
backends/flint/flint_table.cc:1099: undefined reference to `deflateEnd'
backends/flint/flint_table.cc:1087: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
make: *** [Community] Error 1

Any ideas?



More information about the Xapian-discuss mailing list