[Haskell-cafe] FFI, C/C++ and undefined references

Paulo Tanimoto tanimoto at arizona.edu
Thu Jan 14 15:23:52 EST 2010


On Thu, Jan 14, 2010 at 2:08 PM, Daniel Fischer
<daniel.is.fischer at web.de> wrote:
>
> Just an idea. Are you on windows?
> If so, then your foreign calls would probably have to be
>
> foreign import stdcall "srilm.h whatever" ...
>
> instead of
>
> foreign import ccall "..."
>

Yes, I came here to say that too.  I was getting those errors on Windows.

Paulo


More information about the Haskell-Cafe mailing list