[Unison-hackers] Problem building unison under cygwin

Jerome Vouillon Jerome.Vouillon at pps.jussieu.fr
Wed Jun 2 15:34:18 EDT 2010


On Wed, Jun 02, 2010 at 01:13:14PM -0400, Andrew Schulman wrote:
> > On Wed, Jun 02, 2010 at 10:20:33AM -0400, Andrew Schulman wrote:
> > > I've also just been trying to build unison 2.40 for Cygwin, with
> > > UISTYLE=text.  Jerome, your patch gets past the first problem, but the
> > > build fails later
> > [...]
> > > I've tried removing system_win_stubs.c from Makefile.OCaml, by the patch
> > > below.  But the linking step fails with:
> > >
> > > No implementations provided for the following modules:
> > >   System_win referenced from system/win/system_impl.cmx
> > 
> > That was the right thing to do, but you also need to change
> >    SYSTEM=win
> > into
> >    SYSTEM=generic
> 
> Almost... there...

...and you should remove this line entirely:

      COBJS+=lwt/lwt_unix_stubs$(OBJ_EXT)

-- Jerome


More information about the Unison-hackers mailing list