[Haskell-cafe] building hmatrix on OSX
Erik Rantapaa
erantapaa at gmail.com
Wed Dec 17 19:43:10 UTC 2014
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`.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141217/6e402551/attachment.html>
More information about the Haskell-Cafe
mailing list