[Xapian-devel] Adding an external library to Xapian
pallavigudipati at gmail.com
Sun Apr 13 15:37:57 BST 2014
A linker error is encountered even after following the above steps.
undefined reference to `Xapian::Trie::Trie()'
On Sun, Apr 13, 2014 at 8:00 PM, James Aylett <james-xapian at tartarus.org>wrote:
> On 13 Apr 2014, at 15:24, Siddhant Mutha <siddhantmutha at gmail.com> wrote:
> > We are writing a new module which needs to be added to the Xapian
> source. For this, what modifications are to be made to the Makefile?
> > The two modules we are writing will be in the 'include' and 'api'
> I believe (from a quick inspection of the build system) that:
> * add new external API headers (ie ones that get installed for library
> users) to xapianinclude_HEADERS in include/Makefile.mk
> * sources in api/ should be added to lib_src in api/Makefile.mk
> * headers in api/ (which won't be installed for library users) should be
> added to noinst_HEADERS in api/Makefile.mk
> That should be enough, providing you're in maintainer mode, which will be
> true if you've built from a git checkout.
> James Aylett, occasional trouble-maker
III Year Undergraduate
Computer Science And Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xapian-devel