|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] Compile bug in apl-1.6 under MAC OS 10.9.5 |
Date: | Tue, 14 Mar 2017 23:57:08 +0800 |
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@hiddenfr
[Prev in Thread] | Current Thread | [Next in Thread] |