> But when I try to compile it (after having successfully compiled the > C code > with g++), I get: > > $ ghc --make Main.hs You are not telling ghc to link against the C/C++ code, e.g. ghc --make Main.hs srilm.o Regards, Malcolm