[Xapian-tickets] [Xapian] #832: Compiling xapian with meson. Strange error in tests.
Xapian
nobody at xapian.org
Thu Jul 25 22:59:55 BST 2024
#832: Compiling xapian with meson. Strange error in tests.
--------------------------+-------------------------------
Reporter: mgautier | Owner: Olly Betts
Type: task | Status: new
Priority: normal | Milestone:
Component: Build system | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
--------------------------+-------------------------------
Comment (by Olly Betts):
> Works only creating static library. Got undefined reference else (both
linux and windows)
It struck me that this is rather suspicious - there shouldn't be any
undefined references (and there aren't with the current build system) so
this suggests to me that you aren't putting the correct set of files into
the library (or you're misbuilding them in some way that means symbols are
missing, perhaps due to symbol visibility).
I'd suggest working on solving this as it may be the cause of the other
problems and should be easier to debug (first compare the list of sources
in the library with the current build system and yours; if the same, check
the compilation options used match).
Also even if this is not the root of the problem, a shared library build
would be a prerequisite for switching build systems so it needs resolving.
> it would need to be targetted at the release series after next
BTW I should probably note that I'm expecting the release series after
next to follow much sooner than 1.4.0 to now (or 1.2.0 to 1.4.0). The key
thing to do for it is to complete the relicensing of libxapian.
--
Ticket URL: <https://trac.xapian.org/ticket/832#comment:2>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list