Re: Running nhc
[email protected] Sat, 5 Jul 2003 19:31:13 +0100 (BST)
| Newsgroups | gmane.comp.lang.haskell.nhc.bugs |
|---|---|
| Message-ID | <[email protected]> |
> I got the error message:
>
> /usr/local/lib/nhc98/ix86-Linux/Prelude.a(_Driver.o)(.data+0x88):
> undefined reference to `CF_Main_46main'
You probably have something like
module Test where
main = ...
But you need to have a module called "Main", containing the
function "main",
module Main where
main = ...
Regards,
Malcolm