ghc-6.2 compilation problems

Michael Walter cm at leetspeak.org
Fri Dec 19 14:05:54 EST 2003


This is ghc-6.2, trying to built it with ghc-6.2:


$ ./configure --with-x --enable-threaded-rts --enable-objectio 
--enable-hopengl

=>

[...]

------------------------------------------------------------------------
==fptools== make all -wr;
  in /home/cm/Desktop/ghc-6.2/libraries/ObjectIO
------------------------------------------------------------------------
makefile:60: warning: overriding commands for target `HSobjectio.o'
../../mk/package.mk:196: warning: ignoring old commands for target 
`HSobjectio.o'
rm -f Graphics/UI/ObjectIO/StdIOBasic.o; if [ ! -d 
Graphics/UI/ObjectIO/StdIOBasic_split ]; then mkdir 
Graphics/UI/ObjectIO/StdIOBasic_split; else /usr/bin/find 
Graphics/UI/ObjectIO/StdIOBasic_split -name '*.o' -print | xargs rm -f 
__rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -Iinclude 
-package-name objectio -O -Rghc-timing  -package base -split-objs    -c 
Graphics/UI/ObjectIO/StdIOBasic.hs -o Graphics/UI/ObjectIO/StdIOBasic.o 
  -ohi Graphics/UI/ObjectIO/StdIOBasic.hi
<<ghc: 119188216 bytes, 15 GCs, 1557314/3067356 avg/max bytes residency 
(2 samples), 19M in use, 0.00 INIT (0.00 elapsed), 0.78 MUT (3.73 
elapsed), 0.20 GC (0.19 elapsed) :ghc>>
(cd Graphics/UI/ObjectIO/ && /usr/bin/ld -r -x -o StdIOBasic.o 
StdIOBasic_split/*.o);
rm -f Graphics/UI/ObjectIO/OS/Cutil_12.o; if [ ! -d 
Graphics/UI/ObjectIO/OS/Cutil_12_split ]; then mkdir 
Graphics/UI/ObjectIO/OS/Cutil_12_split; else /usr/bin/find 
Graphics/UI/ObjectIO/OS/Cutil_12_split -name '*.o' -print | xargs rm -f 
__rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -Iinclude 
-package-name objectio -O -Rghc-timing  -package base -split-objs    -c 
Graphics/UI/ObjectIO/OS/Cutil_12.hs -o 
Graphics/UI/ObjectIO/OS/Cutil_12.o  -ohi Graphics/UI/ObjectIO/OS/Cutil_12.hi
Graphics/UI/ObjectIO/OS/Cutil_12.hs:40: parse error on input ``'
<<ghc: 3034668 bytes, 2 GCs, 47328/47328 avg/max bytes residency (1 
samples), 5M in use, 0.00 INIT (0.00 elapsed), 0.01 MUT (0.02 elapsed), 
0.01 GC (0.01 elapsed) :ghc>>
make[2]: *** [Graphics/UI/ObjectIO/OS/Cutil_12.o] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/cm/Desktop/ghc-6.2/libraries'
make: *** [build] Error 1


More information about the Glasgow-haskell-users mailing list