#2083: linker reports missing symbols Main.c:(.text+0x12): undefined reference 
to
`__stginit_ZCMain'
-----------------------------+----------------------------------------------
 Reporter:  Andrew U. Frank  |          Owner:         
     Type:  bug              |         Status:  new    
 Priority:  normal           |      Milestone:         
Component:  Compiler         |        Version:  6.8.2  
 Severity:  normal           |     Resolution:         
 Keywords:                   |     Difficulty:  Unknown
 Testcase:                   |   Architecture:  Unknown
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown
  * summary:  linker reports missing symbols Main.c:(.text+0x12): undefined
              reference to `__stginit_ZCMain'
Main.c:(.text+0x2c): undefined reference to
              `ZCMain_main_closure' => linker reports missing
              symbols Main.c:(.text+0x12): undefined
              reference to `__stginit_ZCMain'

Comment:

 Please supply the complete module(s) you are trying to compile.

 Note that a Haskell program should have a module `Main` that defines a
 value `main`: this is a requirement of Haskell 98.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2083#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to