[nhc-bugs] Running nhc

malcolm@cs.york.ac.uk malcolm@cs.york.ac.uk
Sat, 5 Jul 2003 19:31:13 +0100 (BST)


>  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