Jean-Jacques Girardot
2017-03-14 14:50:35 UTC
Hi !
While compiling the 1.6 source code under OSX 9.5, I got the following error :
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT apl-LApack.o -MD -MP -MF .deps/apl-LApack.Tpo -c -o apl-LApack.o `test -f 'LApack.cc' || echo './'`LApack.cc
LApack.cc:21:10: fatal error: 'malloc.h' file not found
#include "malloc.h"
^
I replaced the « malloc.h » include on line 21 by
#include <stdlib.h>
as the appropriate declaration of malloc is in this file, which seems to correct
the problem, since apl now compiles and passes the tests.
Hope this helps.
Regards.
Jean-Jacques Girardot
jean-***@orange.fr
While compiling the 1.6 source code under OSX 9.5, I got the following error :
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT apl-LApack.o -MD -MP -MF .deps/apl-LApack.Tpo -c -o apl-LApack.o `test -f 'LApack.cc' || echo './'`LApack.cc
LApack.cc:21:10: fatal error: 'malloc.h' file not found
#include "malloc.h"
^
I replaced the « malloc.h » include on line 21 by
#include <stdlib.h>
as the appropriate declaration of malloc is in this file, which seems to correct
the problem, since apl now compiles and passes the tests.
Hope this helps.
Regards.
Jean-Jacques Girardot
jean-***@orange.fr