[nhc-bugs] Running nhc
sonja groening
sonja@informatik.uni-bremen.de
Wed, 09 Jul 2003 11:22:45 +0200
malcolm@cs.york.ac.uk writes:
>> 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 = ...
I think, that would be right, if I want to use main. But I just
tried out a little programm like
module Test where
data Foo = Bar
and got the error I mentioned above.
sonja
--
Die naechste WM ist erst 2006.