lndir doesn't compile on windows
josef.svenningsson at gmail.com
Fri Apr 7 18:25:46 EDT 2006
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