Skip to content
Prev 75511 / 398502 Next

Compilation failures: mgcv, spatstat, Matrix, cluster

On Sat, 13 Aug 2005, Michael Kubovy wrote:

            
Didn't check package for actually functioning correctly,
but the following changes will allow compilation on OS X
10.3. In ANSI C, the standard memory allocation routines
are declared in <stdlib.h>; <malloc.h> is obsolete for that
purpose and isn't guaranteed to exist.


Matrix/src/mmio.c:
    Add #include <stdlib.h>
    Remove #include <malloc.h>

Matrix/src/iohb.h:
    Remove #include <malloc.h>

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)