[Haskell-cafe] FFI link failing due to no main?

phil at beadling.co.uk phil at beadling.co.uk
Thu Aug 27 03:24:06 EDT 2009


> I'm not really sure, but does the linking step really need to be given
> the --make flag? I would try linking without that in the first
> instance.

I think so - it's not just a link step, it does the following:

Compile:
CInterface.c -> CInterface.o

Link:
CInterface.o HaskellFuncs_stub.o Hasnkell.Funcs.o -> libCInterface.so


I'll take a look at the full -v output and see if that reveals anything.

Thanks,

Phil.


On 27 Aug 2009, at 04:38, Bernie Pope wrote:

> Hi Phil,



More information about the Haskell-Cafe mailing list