
Jan Christiansen wrote:
[...] Sadly defining the dependencies didn't solve the problem. I get this error message:
Preprocess/PhilsLine.o(.text+0x13e): In function `s2We_entry': : undefined reference to `CHDziBaseTypes_CodePosition_con_info' Preprocess/PhilsLine.o(.text+0x25e): In function `s2W6_entry': : undefined reference to `CHDziBaseTypes_CodePosition_con_info' Preprocess/PhilsLine.o(.text+0x382): In function `s2VY_entry': : undefined reference to `CHDziBaseTypes_CodePosition_con_info' Preprocess/PhilsLine.o(.text+0x49e): In function `s2VP_entry': : undefined reference to `CHDziBaseTypes_CodePosition_con_info' Preprocess/PhilsLine.o(.text+0x6a1): In function `s2Yz_entry': : undefined reference to `CHDziBaseTypes_CodePosition_con_info' Preprocess/PhilsLine.o(.text+0x809): more undefined references to `CHDziBaseTypes_CodePosition_con_info' follow /usr/local/lib/ghc-6.2.1/libHSCHD.a(Concurrent.o)(.text+0x22): In function `__stginit_CHDziControlziConcurrent_': : undefined reference to `__stginit_CHDziBaseTypes_' [...]
All these undefined references ("zi" => ".") seem to be within your own package "CHD", but guessing what goes wrong exactly is a bit hard without further information. A complete log of what you are doing might help, a tar file including your sources would be even better (when building is as simple as "make" or the like). This is a general hint for people reporting non-trivial problems: Whenever possible, package up everything necessary for reproducing the problem in a way that a plain "make" suffices, and attach it to your problem report. Remember: This is a "lazy" mailing list... :-) Cheers, S.