[Haskell-cafe] building a FFI library with cabal

Tad Doxsee tad.doxsee
Fri Oct 4 19:36:24 UTC 2013


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/20131004/e3b75358/attachment.htm>



More information about the Haskell-Cafe mailing list