[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Compile bug in apl-1.6 under MAC OS 10.9.5
From: |
Jean-Jacques Girardot |
Subject: |
[Bug-apl] Compile bug in apl-1.6 under MAC OS 10.9.5 |
Date: |
Tue, 14 Mar 2017 15:50:35 +0100 |
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
address@hidden
- [Bug-apl] Compile bug in apl-1.6 under MAC OS 10.9.5,
Jean-Jacques Girardot <=