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@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe