On Wed, 10 Mar 2021, at 12:34 PM, XQ wrote:
> I did
> 
>     patch -u imap/xapian_wrap.cpp -i ../../xapian-wrap-export.patch
> 
> from the cyrus-imapd-3.2.5 directory.
> 
> That seemed to fix those errors, but now I have new ones:

Great!  The new errors look like more of the same thing.  I worked out how to 
reproduce the problem locally (by adding -fvisibility=hidden to both CFLAGS and 
CXXFLAGS -- I guess your system/compiler has this flag enabled by default), so 
I think I've now found and fixed the remaining linkage issues.

Attached is a second patch, which should be applied over the top of the code 
you already patched with the first one.  Note that this new patch affects 
multiple files, so you won't be able to provide a target filename like you did 
last time.  Something like this should work, also from the cyrus-imapd-3.2.5 
directory, and assuming you put the new patch in the same directory as you did 
the original one:

   patch -p1 -i ../../xapian-wrap-export2.patch

You probably don't need the "-u" argument, it should figure it out itself, but 
if it doesn't then you might need it after all...

Looking forward to hearing how this one goes. :)

Cheers,

ellie
------------------------------------------
Cyrus: Devel
Permalink: 
https://cyrus.topicbox.com/groups/devel/Tf544987d7d6a54fd-Md0998cdcc16096a3a462ca76
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription

Attachment: xapian-wrap-export2.patch
Description: Binary data

Reply via email to