Pallavi Gudipati
2014-Apr-13 17:56 UTC
[Xapian-devel] Adding an external library to Xapian
Configure command: ./configure --enable-maintainer mode I dont get any output with nm that contains Trie. On Sun, Apr 13, 2014 at 11:20 PM, James Aylett <james-xapian at tartarus.org>wrote:> On 13 Apr 2014, at 18:39, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > I am working in Ubuntu 12.04. I have tried re-configuring the source > tree too. Removing the destructor stops the error messages for the > destructor but the constructor's error persist. > > I'm not getting that error. From the top of xapian-core, can you type: > > nm -C .libs/libxapian.so|grep Trie > > and tell me what the output is please? Mine looks like this: > > user at ubuntu:~/build/xapian-core$ nm -C .libs/libxapian.so|grep Trie > 00000000000846fc T Xapian::Trie::search_term(std::string) > 00000000000844aa T Xapian::Trie::add_term(std::string) > 0000000000084490 T Xapian::Trie::Trie() > 0000000000084490 T Xapian::Trie::Trie() > > I currently don't believe you are running with --enable-maintainer-mode, > because that places a -Werror in the link command, and you don't have one. > What was your configure command? > > 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/7ad5c796/attachment-0002.html>
On 13 Apr 2014, at 18:56, Pallavi Gudipati <pallavigudipati at gmail.com> wrote:> Configure command: ./configure --enable-maintainer mode./configure --enable-maintainer-mode> I dont get any output with nm that contains Trie.Which indicates that your Xapian library is not being built with your new files. Getting the configure invocation right should fix that. J -- James Aylett, occasional trouble-maker xapian.org
Oh, no no. It was a typo in the mail. We did the same thing you mentioned. *Siddhant Mutha* Undergraduate Student Department of Computer Science and Engineering IIT Madras Chennai http://www.siddhantmutha.com/ <http:/www.siddhantmutha.com/> On Sun, Apr 13, 2014 at 11:31 PM, James Aylett <james-xapian at tartarus.org>wrote:> On 13 Apr 2014, at 18:56, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > Configure command: ./configure --enable-maintainer mode > > ./configure --enable-maintainer-mode > > > I dont get any output with nm that contains Trie. > > Which indicates that your Xapian library is not being built with your new > files. Getting the configure invocation right should fix that. > > J > > -- > James Aylett, occasional trouble-maker > xapian.org > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20140413/020a5b70/attachment-0002.html>