Page 1 of 1

newLisp won't compile

Posted: Mon Mar 28, 2016 9:36 am
by rotacoder
Hi,

I'm using a Linux distro based on Debian stable (32 bit). There is no package for 32 bit Debian so I downloaded the source, but when I run "make" I get the following error:

Code: Select all

make -f makefile_build
make[1]: Entering directory '/home/jules/Documents/newlisp-10.7.0'
gcc -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include newlisp.c
In file included from newlisp.c:20:0:
newlisp.h:118:17: fatal error: ffi.h: No such file or directory
 #include <ffi.h>
                 ^
compilation terminated.
makefile_build:21: recipe for target 'newlisp.o' failed
make[1]: *** [newlisp.o] Error 1
Not sure what the problem is here. Probably missing some library or other but don't know?

Any help appreciated.

Re: newLisp won't compile

Posted: Mon Mar 28, 2016 7:55 pm
by TedWalther
Have you installed libffi-dev?

Code: Select all

sudo apt install libffi-dev