[ ghc-Bugs-471722 ] undefined reference to `Main_main_closur

noreply@sourceforge.net noreply@sourceforge.net
Wed, 17 Oct 2001 14:27:05 -0700


Bugs item #471722, was opened at 2001-10-16 07:06
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=471722&group_id=8032

Category: Compiler
Group: 5.02
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: undefined reference to `Main_main_closur

Initial Comment:
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'


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-10-17 14:27

Message:
Logged In: NO 

module Teste where

comp x = 2*pi*x

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2001-10-17 01:48

Message:
Logged In: YES 
user_id=48280

we'll need more info to follow this one up.  Is the module 
you're trying to compile actually the Main module?  Could 
you post the source for the module?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=471722&group_id=8032