Jin Yang <[EMAIL PROTECTED]> writes ...

I wrote a translator in Haskell and it was compiled OK using an earlier ghc 
version. Now the ghc at my department (Dept of Computing , Imperial) was 
upgrated to ghc0.26 and all my code got a compiling error:
   ld: Undefined symbol 
   ___main 

now I cannot even compile a very simple code (one line in Main.hs) such as:

   module Main (main) where
 
   main = print "Hello, test"


(In my oringinal code I used 1.3IO so I used option of -fhaskell-1.3)

Any idea?

Thanks a lot,

Jin   

Reply via email to