[Xapian-devel] Adding an external library to Xapian
Pallavi Gudipati
pallavigudipati at gmail.com
Sun Apr 13 15:37:57 BST 2014
A linker error is encountered even after following the above steps.
ERROR:
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'
> folders.
>
> 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.
>
> J
>
> --
> James Aylett, occasional trouble-maker
> xapian.org
>
>
--
Pallavi Gudipati
III Year Undergraduate
Computer Science And Engineering
IIT Madras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20140413/00afc0f7/attachment.html>
More information about the Xapian-devel
mailing list