Skip to content

hsc2hs fails to link intermediate program

On Mac OS X 10.2.6 and the binary package of ghc 6.00 I 
get the following linker error when running hsc2hs on a 
trivial program:

ld: Undefined symbols:
_Main_zdmain_closure

It seems that hsc2hs uses ghc now by default to compile the 
C program. That doesn't seem to be the problem, though, 
since it worked with ghc 5.04.

Axel.

Trac metadata
Trac field Value
Version 6.0
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information