`updateWithIndirection' undeclared

Sigbjorn Finne sof at galois.com
Wed Apr 9 11:40:09 EDT 2003


Thx, fixed.

--sigbjorn

----- Original Message -----
From: "Ralf Hinze" <ralf at informatik.uni-bonn.de>
To: <glasgow-haskell-bugs at haskell.org>
Sent: Tuesday, April 08, 2003 05:58
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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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-prot
otypes -optc-Wmissing-prototype
>
s -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wb
ad-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
>
>
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> Glasgow-haskell-bugs at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs




More information about the Glasgow-haskell-bugs mailing list