[Haskell-cafe] building hmatrix on OSX

Carter Schonwald carter.schonwald at gmail.com
Thu Dec 18 00:59:33 UTC 2014


did you file a bug report on the hmatrix issue tracker? You'll probably get
good support there

On Wed, Dec 17, 2014 at 2:43 PM, Erik Rantapaa <erantapaa at gmail.com> wrote:
>
> I'm trying to build hmatrix-0.16.1.1 on OSX 10.10.1, and I'm running into
> some undefined C functions and types in src/C/vector-aux.c:
>
> - struct random_data
> - random_r()
> - initstate_r()
>
> A specific error:
>
>     src/C/vector-aux.c:738:24:
>          error: variable has incomplete type 'struct random_data'
>             struct random_data buffer;
>
> On a Linux system they seem to be defined in stdlib.h, but that doesn't
> seem to be the case on OSX.
>
> Is there a way to work around this?
>
> FWIW, I'm using GHC for OSX (https://ghcformacosx.github.io/) and I've
> installed `gsl` via `brew install gsl`.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141217/b1d2458b/attachment.html>


More information about the Haskell-Cafe mailing list