[Haskell-cafe] building a FFI library with cabal

Tad Doxsee tad.doxsee
Sat Oct 5 15:46:51 UTC 2013


With a big help from the community, I've fixed my problem.  I had to
include the extra-libraries when building the hcholmod library.  I'll push
a new version later today.

Tad



On Fri, Oct 4, 2013 at 12:36 PM, Tad Doxsee <tad.doxsee at gmail.com> wrote:

> Hi,
>
> I'm trying to create an FFI library to CHOLMOD (
> http://www.cise.ufl.edu/research/sparse/cholmod/) but am having problems.
>
> My project is here: github.com/tdox/hcholmod.  I can link an executable
> with the build script in the examples directory (line 4).  But line 7 does
> not work (I get undefineds for functions that are in cholmod.a. Also, I
> can't build example1 with cabal.  (Uncommenting the -- lines in
> hcholmod.cabal results is similar undefineds.)
>
> I would appreciate any help or hints.
>
> Thanks,
>
> Tad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131005/e57309f0/attachment.htm>



More information about the Haskell-Cafe mailing list