Make on Windows gives errors

Neil Mitchell ndmitchell at gmail.com
Tue Aug 15 08:56:47 EDT 2006


Hi,

I think these are new, but not entirely sure:

In file included from libraries/bootlib\Foreign\C\Error.c:4:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
In file included from packages/base/cbits/PrelIOUtils.c:8:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
runhugs: Error occurred
ERROR "libraries/bootlib\Foreign\C\Error.hs" - Error while running
compilation command 'gcc -DNDEBUG=1 -g   -shared -D__HUGS__
"-Ihugsdir/include" -o "libraries/bootlib\Foreign\C\Error.dll"
"libraries/bootlib\Foreign\C\Error.c" -Ipackages/base/include
-Ighc/includes packages/base/cbits/PrelIOUtils.c -lwsock32'


In file included from libraries/bootlib\Foreign\Marshal\Alloc.c:4:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
In file included from packages/base/cbits/PrelIOUtils.c:8:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
runhugs: Error occurred
ERROR "libraries/bootlib\Foreign\Marshal\Alloc.hs" - Error while
running compilation command 'gcc -DNDEBUG=1 -g   -shared -D__HUGS__
"-Ihugsdir/include" -o "libraries/bootlib\Foreign\Marshal\Alloc.dll"
"libraries/bootlib\Foreign\Marshal\Alloc.c" -Ipackages/base/include
-Ighc/includes packages/base/cbits/PrelIOUtils.c
packages/base/cbits/dirUtils.c packages/base/cbits/consUtils.c
-lwsock32'


In file included from libraries/bootlib\Foreign\Marshal\Utils.c:4:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
runhugs: Error occurred
ERROR "libraries/bootlib\Foreign\Marshal\Utils.hs" - Error while
running compilation command 'gcc -DNDEBUG=1 -g   -shared -D__HUGS__
"-Ihugsdir/include" -o "libraries/bootlib\Foreign\Marshal\Utils.dll"
"libraries/bootlib\Foreign\Marshal\Utils.c" -Ipackages/base/include
-Ighc/includes -lwsock32'


In file included from libraries/bootlib\Foreign\Ptr.c:4:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
In file included from packages/base/cbits/PrelIOUtils.c:8:
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h:152: error: conflicting types for 'execvpe'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/process.h:121:
error: previous declaration of 'execvpe' was here
packages/base/include/HsBase.h: In function `__hscore_mkdir':
packages/base/include/HsBase.h:465: error: too many arguments to
function `mkdir'
runhugs: Error occurred
ERROR "libraries/bootlib\Foreign\Ptr.hs" - Error while running
compilation command 'gcc -DNDEBUG=1 -g   -shared -D__HUGS__
"-Ihugsdir/include" -o "libraries/bootlib\Foreign\Ptr.dll"
"libraries/bootlib\Foreign\Ptr.c" -Ipackages/base/include
-Ighc/includes packages/base/cbits/PrelIOUtils.c -lwsock32'


Thanks

Neil


More information about the Hugs-Bugs mailing list