[Xapian-discuss] undefined reference to `Xapian::Document::values_end() const'

Per Jessen per at computer.org
Fri Jun 25 14:41:08 BST 2010


Olly Betts wrote:

> On Thu, Jun 24, 2010 at 03:08:07PM +0200, Per Jessen wrote:
>> Per Jessen wrote:
>> 
>> > I've got a simple for-loop:
>> > 
>> > for( v=doc.values_begin(); v!=doc.values_end(); v++ )
>> > 
>> > going through the values of a document from a search.  I really
>> > don't understand why I'm getting this undefined reference?
>> 
>> I'm working in C++, on Linux, with Xapian 1.2.0.
> 
> Is this at link time or run time?
> 

This is at link time. 

> If it is at run time, I suspect you are picking up headers from an
> older Xapian version you have installed.  As noted here the headers
are installed in the wrong directory:
> 
> http://trac.xapian.org/wiki/ReleaseNotes/1.2.0

I'll double check that.  Thanks.


/Per Jessen, Zürich




More information about the Xapian-discuss mailing list