Skip to content

undefined reference to `Main_main_closur

Prelude> :! ghc -o nuevo c:\windows\desktop\Comp.hs
C:/GHC/libHSstd.a(PrelMain__1.o)
(.text+0x16)://c/tmp/ghc1756.hc: undefined refer
ence to `__stginit_Main'
C:/GHC/libHSstd.a(PrelMain__2.o)
(.text+0x4)://c/tmp/ghc1756.hc: undefined refere
nce to `Main_main_closure'
C:/GHC/libHSstd.a(PrelMain__2.o)
(.text+0x33)://c/tmp/ghc1756.hc: undefined refer
ence to `Main_main_closure'
Trac metadata
Trac field Value
Version 5.02
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedInvalid
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