[darcs-devel] [darcs-users] Problem building darcs 2 on WinXP

David Roundy droundy at darcs.net
Sun Dec 16 21:32:47 UTC 2007


I'm sorry to report that I've got no idea.  Any chance we've got any win32
folks here who can give a hand?

David

On Sat, Dec 15, 2007 at 12:43:57PM +1100, Rob Moss wrote:
> No, libkernel32.a is already present in both MinGW and GHC.
> Adding "-lkernel32" doesn't fix the problem either. I'm at a total
> loss here -- the library exists and defines SleepEx.
> 
> On 15/12/2007, Rob Moss <rgm at csse.unimelb.edu.au> wrote:
> > Yes I managed to find winbase.h and it declares SleepEx (and so the
> > compilation stage works). From the link error, it would seem that I'm
> > missing the library that defines SleepEx (kernel32.lib according to
> > MSDN), but this file exists in both MinGW and GHC's lib directories.
> > The only thing I can think of is that perhaps it needs to be renamed
> > to libkernel32.lib, which I'll try on Monday.
> >
> > Thanks for your reply (and for the most natural VCS I've ever used!)
> >
> > cheers,
> > Rob
> >
> > On 15/12/2007, David Roundy <droundy at darcs.net> wrote:
> > > I'm afraid I'm no help here (since I don't have windows, or windows
> > > experience), but just wanted to say that I'm glad you're trying out darcs 2
> > > on windows, and hope you get it compiled successfully.  Please let us know
> > > how it turns out!
> > >
> > > The only thing I can point out is (from reading the darcs source) that
> > > SleepEx should be declared in "winbase.h".  This is apparently a header
> > > that defines the win32 base API.  Google discovers that:
> > >
> > > /************************************************************************
> > > *                                                                       *
> > > *   winbase.h -- This module defines the 32-Bit Windows Base APIs       *
> > > *                                                                       *
> > > *   Copyright 1990 - 1998 Microsoft Corp. All rights reserved.          *
> > > *                                                                       *
> > > ************************************************************************/
> > >
> > > I've no idea what library would provide this, though.
> > >
> > > David
> > >
> > > P.S. Your first message was held up in the moderation queue, and resending
> > > was exactly the right thing to do, as it led me to check the queue, and now
> > > your email address is properly whitelisted.


More information about the darcs-devel mailing list