<div dir="ltr">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. <div style>ERROR:</div>
<div style><a href="http://pastebin.com/r0wYNfEs">http://pastebin.com/r0wYNfEs</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 13, 2014 at 10:56 PM, James Aylett <span dir="ltr"><<a href="mailto:james-xapian@tartarus.org" target="_blank">james-xapian@tartarus.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 13 Apr 2014, at 17:49, Siddhant Mutha <<a href="mailto:siddhantmutha@gmail.com">siddhantmutha@gmail.com</a>> wrote:<br>
<br>
> Here are the files.<br>
> /include/xapian/trie.h<br>
> /api/trie.cc<br>
<br>
</div>Have you tried re-configuring your source tree? Because way before you get to compiling the examples the build system will compile trie.cc, which for me didn't work cleanly. (You have code like *it->value, but you mean (*it)->value because -> is higher precedence than dereference *.) What platform are you on? Apologies if I've asked that before.<br>
<br>
Anyway, your original problem I think is because you have declared a Xapian::Trie destructor in include/xapian/trie.h but you haven't defined it anywhere. Given your constructor doesn't do anything, just removing the destructor declaration should move you forward for the time being.<br>
<div class="HOEnZb"><div class="h5"><br>
J<br>
<br>
--<br>
James Aylett, occasional trouble-maker<br>
<a href="http://xapian.org" target="_blank">xapian.org</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif">Pallavi Gudipati</span><br style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif">
<span style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif">III Year Undergraduate</span><br style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif"><span style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif">Computer Science And Engineering</span><br style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif">
<span style="color:rgb(0,0,153);font-family:trebuchet ms,sans-serif">IIT Madras</span><br></div>
</div>