Compiling Hugs libraries fails

Neil Mitchell ndmitchell at gmail.com
Mon May 1 09:16:16 EDT 2006


Hi,

I'm trying to compile the Hugs libraries, following the instructions
given in docs/building/win32.txt for CVS using MSYS, on a completely
fresh tree - no windows stuff built at all.

It goes on for ages, then I get:


----

Preprocessing Network/Hackage/Interface
Preprocessing Network/Hackage/Version
C:/DOCUME~1/ndm/LOCALS~1/Temp/ccATaaaa.o(.text+0x7e): In function
`hugsprim_SearchPath_0':
d:/sources/cvs.haskell.org/fresh/hugs98/libraries/bootlib/System/Directory.c:28:
undefined reference to `SearchPath'
collect2: ld returned 1 exit status
runhugs: Error occurred
ERROR "libraries/bootlib\System\Directory.hs" - Error while running
compilation command 'gcc -DNDEBUG=1 -g   -shared -D__HUGS__
"-Ihugsdir/include" -o "libraries/bootlib\System\Directory.dll"
"libraries/bootlib\System\Directory.c" -Ipackages/base/include
-Ighc/includes -lwsock32'


runhugs: Error occurred
ERROR "libraries/bootlib\System\Directory.hs":140 - Undefined variable
"long_path_size"


echo timestamp for bootlib >bootlib/.stamp
cd ../cpphs; ../src/runhugs -98 -P../libraries/bootlib
../packages/Cabal/examples/hapax.hs configure --verbose --hugs
--scratchdir=../hugsdir --with-compiler=../src/ffihugs
runhugs: Error occurred
ERROR "../libraries/bootlib\System\Directory.hs" - Error while
importing DLL "../libraries/bootlib\System\Directory.dll"


make[1]: *** [../hugsdir/programs/cpphs/Main.hs] Error 1
make[1]: Leaving directory `/d/sources/cvs.haskell.org/fresh/hugs98/libraries'
make: *** [all] Error 2


Any idea whats wrong?

Thanks

Neil


More information about the Cvs-hugs mailing list