ghc linking errors
Manuel M. T. Chakravarty
chak at cse.unsw.edu.au
Wed May 9 23:08:32 EDT 2001
Thomas Hallock <t_hallock at yahoo.com> wrote,
> I get these crazy link errors whenever ghc tried to
> link its object files:
>
>
> [localhost:Documents/minimax/hs] root# ghc simple.hs
> /usr/bin/ld: Undefined symbols:
> _Main_main_closure
> ___init_Main
> __udivdi3
> __umoddi3
> __cmpdi2
> __fixunsdfdi
> __floatdidf
>
>
> what gives?
How about telling us a little about which release and
distribution you use on which version of which OS and also
including the output of
ghc -v simple.hs
and the contents of `simple.hs'.
BTW, did you maybe use a module name other than `Main' in
`simple.hs'.
Manuel
More information about the Glasgow-haskell-bugs
mailing list