The compilation of the latest Green Card version with GHC 3.01 fails
in the linking phase:
[ everything goes fine until...]
ghc-3.01 -recomp -O -fglasgow-exts -H30M -o green-card Casm.o DIS.o Decl.o
ErrMonad.o FillIn.o FillInMonad.o FiniteMap.o GCToken.o GetOpt.o GreenCard.o
Lex.o LexM.o ListUtils.o MarshallMonad.o Name.o NameSupply.o Package.o Pretty.o
PrettyUtils.o Proc.o Process.o Target.o Type.o Parse.o ErrorHook.o
Parse.o(.text+0xa43e): undefined reference to `LexM_LexM_con_info'
Parse.o(.text+0xa48e): undefined reference to `LexM_LexM_con_info'
Parse.o(.text+0xa4ce): undefined reference to `LexM_LexM_con_info'
Parse.o(.text+0xa52e): undefined reference to `LexM_LexM_con_info'
Parse.o(.text+0xa58e): undefined reference to `LexM_LexM_con_info'
Parse.o(.text+0xa5ce): more undefined references to `LexM_LexM_con_info' follow
make: *** [green-card] Error 1
When -O is removed during the compilation of LexM.lhs, everything works.
--
Sven Panne Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen Oettingenstr. 67
mailto:[EMAIL PROTECTED] D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne