
On Sun, 19 Dec 2010 21:32:00 +0100, gutti
Try to use the hmatrix package for vector and matrix calculations.
The haskell compilation works (no problem in GHCi mode), the gcc however compilation fails with messages like: EFA.o: In function `r1bo_info': (.text+0x48): undefined reference to `hmatrixzm0zi10zi0zi0_NumericziVector_zdfNumVector1_closure' EFA.o: In function `r1bs_info': (.text+0x10a): undefined reference to `hmatrixzm0zi10zi0zi0_NumericziVector_zdfFractionalVector_closure'
Obviously gcc doesn't know where the according libraries are installed. Same problem with other packages.
The description of the package states: "internally implemented using GSL, BLAS and LAPACK"; I suppose you need to install these (non-Haskell) packages first. Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --