Missing 'ErrorHdrHook' in GHC 6.0

20 Jun
2003
20 Jun
'03
4:09 p.m.
I just switched to GHC 6.0 for a project where I have "plugins" that are written in Haskell and reside in a Win32 DLL. I can make everything work with 6.0, except I get this when building the DLL: d:/ghc/ghc-6.0/libHSbase.a(TopHandler__7.o)(.text+0xc8):ghc7504.hc: undefined reference to `ErrorHdrHook' dllwrap: gcc exited with status 1 I wonder why it's just ErrorHdrHook that can't be found? My solution is to include this: void ErrorHdrHook(FILE *where) { fprintf(where, "\n"); } in the DLL. ---- Kevin S. Millikin Architecture Technology Corporation Research Scientist Specialists in Computer Architecture (952)829-5864 x162 http://www.atcorp.com
8061
Age (days ago)
8061
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kevin S. Millikin