I get the following error message when I try to compile with -caf-all.  


/tmp/ghc583_0/ghc583_0.s:6482:0:
    FATAL:Symbol _Mainmain_CAF_cc_ccs already defined.

My command line looks like this:

ghc --make PriceHisto.hs -ljudy -prof -auto-all -caf-all 

I also tried the following command line and got the same error:

ghc --make PriceHisto.hs -ljudy -prof -caf-all 

Any ideas as to what I'm doing wrong?


R Hayes
rfhayes<>@</>reillyhayes.com