compiling ghc-6.2.1

Christian Maeder maeder at
Wed Jun 9 06:58:06 EDT 2004

Christian Maeder wrote:
> maeder at davinci -> rpm -q gcc
> gcc-3.3.3-41
> "make" (in ghc-6.2.1) fails (in ghc/GC.c) with:
> GC.c: In function `threadLazyBlackHole':
> GC.c:4049: warning: use of cast expressions as lvalues is deprecated
> make[2]: *** [GC.o] Fehler 1

The actual error not messed up by warnings is:

../../ghc/compiler/ghc-inplace -optc-O -optc-w -optc-Wall -optc-W 
-optc-Wstrict-prototypes -optc-Wmissing-prototypes 
-optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return 
-optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel 
-optc-DCOMPILING_RTS -optc-fomit-frame-pointer -H16m -O -O2 -static 
-c GC.c -o GC.o
GC.c:1663: error: conflicting types for `evacuate'
GC.c:145: error: previous declaration of `evacuate'
make[2]: *** [GC.o] Fehler 1

More information about the Glasgow-haskell-users mailing list