newLisp won't compile

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
rotacoder
Posts: 1
Joined: Mon Mar 28, 2016 9:30 am

newLisp won't compile

Post 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.

TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Re: newLisp won't compile

Post by TedWalther »

Have you installed libffi-dev?

Code: Select all

sudo apt install libffi-dev
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.

Locked