[Haskell-cafe] building a FFI library with cabal
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.
On Fri, Oct 4, 2013 at 12:36 PM, Tad Doxsee <tad.doxsee at gmail.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe