logo       

`updateWithIndirection' undeclared: msg#00015

lang.haskell.glasgow.bugs

Subject: `updateWithIndirection' undeclared

Building GHC from cvs (using GHC 5.04.3) fails with:
---

------------------------------------------------------------------------
==fptools== make all -wr;
in /var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc/rts
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c Adjustor.c -o Adjustor.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c Arena.c -o Arena.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c BlockAlloc.c -o BlockAlloc.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c Capability.c -o Capability.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c ClosureFlags.c -o ClosureFlags.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c Disassembler.c -o Disassembler.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c FrontPanel.c -o FrontPanel.o
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototype
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-Wbad-function-cast -optc-I../incl
udes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
-optc-DTHREADED_RTS -H16m -O -
O2 -static -c GC.c -o GC.o
GC.c: In function `evacuate':
GC.c:1647: warning: `stp' might be used uninitialized in this function
GC.c:4028:57: macro "updateWithIndirection" requires 5 arguments, but only 3
given
GC.c: In function `threadSqueezeStack':
GC.c:4028: `updateWithIndirection' undeclared (first use in this function)
GC.c:4028: (Each undeclared identifier is reported only once
GC.c:4028: for each function it appears in.)
make[2]: *** [GC.o] Fehler 1
make[1]: *** [all] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc'
make: *** [build] Fehler 1

---
I'm running Gentoo Linux (gcc version 3.2.2).
Let me know if you need anything else.

Cheers, Ralf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise