error building greencard with ghc 5.04

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

anyone have a patch?
I think the CVS repository has a patch. If not, try adding 'import ForeignObj' to StdDIS.gc. Probably wise to reexport ForeignObj from StdDIS.gc too. [Can't test this since I'm using someone else's box this week and it'll take a few days for my upgrade to 5.04 request to go through.] -- Alastair Reid alastair@reid-consulting-uk.ltd.uk Reid Consulting (UK) Limited http://www.reid-consulting-uk.ltd.uk/alastair/
participants (2)
-
Alastair Reid
-
Hal Daume III