
Hi all,
I'm able to compile the .NET code generator with GHC without
compiler errors, but now I have the linkage error below. (In fact
there are other similar messages, this is only an example). This is
strange because the *.o/*.hi files were all generated without error
messages. Has anyone any idea about how to solve it?
(...)
stage1/ilGen/ILGen.o(.rodata+0x50):fake: undefined reference to `mtlzm1zi0zi1_C
ntrolziMonadziStateziLazzy_zdf14_closure'
stage1/ilGen/ILGen.o(.rodata+0x68):fake: undefined reference to `mtlzm1zi0zi1_C
ntrolziMonadziStateziLazzy_zdf14_closure'
stage1/ilGen/ILGen.o(.rodata+0x74):fake: undefined reference to `mtlzm1zi0zi1_C
ntrolziMonadziStateziLazzy_zdf14_closure'
stage1/ilGen/ILGen.o(.rodata+0x88):fake: undefined reference to `mtlzm1zi0zi1_C
ntrolziMonadziStateziLazzy_zdf14_closure'
stage1/ilGen/ILGen.o(.rodata+0xb8):fake: more undefined references to `mtlzm1zi
zi1_ControlziMonadziStateziLazzy_zdf14_closure' follow
stage1/ilGen/ILGen.o(.rodata+0x32bc):fake: undefined reference to `mtlzm1zi0zi1
ControlziMonadziStateziLazzy_evalState_closure'
stage1/ilGen/ILGen.o(.rodata+0x32d0):fake: undefined reference to `mtlzm1zi0zi1
ControlziMonadziStateziLazzy_zdf14_closure'
collect2: ld returned 1 exit status
<