lndir doesn't compile on windows
simonmarhaskell at gmail.com
Wed Apr 12 08:17:49 EDT 2006
Josef Svenningsson wrote:
> I tried building ghc on windows today, doing a 'devel' build. I.e. I
> just copied build.mk.sample and uncommented "BuildFlavour = devel".
> This seems to be a not so well-tested thing as it failed already in
> compiling utils/lndir/lndir.c with the following error message:
> lndir.c: In function `dodir':
> lndir.c:259: too many arguments to function `mkdir'
> lndir.c: In function `main':
> lndir.c:373: `S_IRWXG' undeclared (first use in this function)
> lndir.c:373: (Each undeclared identifier is reported only once
> lndir.c:373: for each function it appears in.)
> lndir.c:373: `S_IROTH' undeclared (first use in this function)
> lndir.c:373: `S_IXOTH' undeclared (first use in this function)
> lndir.c:373: too many arguments to function `mkdir'
> I don't want to try to fix this as my c knowledge is terrible. Could
> someone who knows about these things help out?
More information about the Cvs-ghc