[Xapian-tickets] [Xapian] #821: SOCKLEN_T not defined when compiling with mingw32.

Xapian nobody at xapian.org
Sat Apr 29 03:49:55 BST 2023


#821: SOCKLEN_T not defined when compiling with mingw32.
--------------------------+-------------------------------
 Reporter:  mgautier      |             Owner:  Olly Betts
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:
Component:  Build system  |           Version:  1.4.22
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  Linux
--------------------------+-------------------------------
Comment (by Olly Betts):

 > Is the mingw32 cross-compiler easy to install on Ubuntu? We could have a
 CI build of the cross-compiler if so.

 I've added a pair of CI builds using the mingw-w64 cross-compilers which
 are in the Ubuntu repos (one's 32-bit, the other 64-bit).  They currently
 only build xapian-core and don't try to run tests (which we probably could
 do using wine).

 These both work with the current code, i.e. they don't hit your problem.

 If I follow you're using mingw rather than mingw-w64 but I don't see an
 easy way to install a cross-compiler for that, and the native build we
 have on appveyor using mingw works.
-- 
Ticket URL: <https://trac.xapian.org/ticket/821#comment:3>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list