newLisp won't compile

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?

newLisp won't compile

Postby rotacoder » Mon Mar 28, 2016 9:36 am

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.
rotacoder
 
Posts: 1
Joined: Mon Mar 28, 2016 9:30 am

Re: newLisp won't compile

Postby TedWalther » Mon Mar 28, 2016 7:55 pm

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.
TedWalther
 
Posts: 602
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC


Return to newLISP and the O.S.

Who is online

Users browsing this forum: No registered users and 1 guest

cron