error building greencard with ghc 5.04

Hal Daume III hdaume@ISI.EDU
Mon, 22 Jul 2002 10:43:02 -0700 (PDT)


probably a result of the libraries (probably = certainly), but i get:

../../src/green-card --target ghc StdDIS.gc
ghc -fglasgow-exts -fno-prune-tydecls -fvia-C -package lang -package util
-c StdDIS.hs -o StdDIS.o

StdDIS.hs:39: Module `Foreign' does not export `ForeignObj'

StdDIS.hs:39: Module `Foreign' does not export `makeStablePtr'

StdDIS.hs:39:
    Module `Foreign' does not export `addForeignFinalizer'

StdDIS.hs:39: Module `Foreign' does not export `makeForeignObj'
gmake[2]: *** [StdDIS.o] Error 1


anyone have a patch?

--
Hal Daume III

 "Computer science is no more about computers    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume