I just built this under MacOS and it needed a few tweaks - so while ymmv here they are:
The ./ in the makefile is up to you - I don't have . in my path - but maybe you do ... but the
symtabgen rule needs a tweak.
plong@mini AM1 % diff Makefile Makefile.orig
13c13
< ./symtabgen permsyms.def
---
> symtabgen permsyms.def
46d45
< $(CC) symtabgen.c symtab.o -o symtabgen
plong@mini AM1 %
plong@mini AM1 % diff parser.y parser.orig.y
59,61c59,61
< int yyerror(const char *errstr);
< void verror(const char *msgP, ...);
< void vwarn(const char *msgP, ...);
---
> void yyerror();
> void verror(char *msgP, ...);
> void vwarn(char *msgP, ...);
906c906
< vwarn(const char *msgP, ...)
---
> vwarn(char *msgP, ...)
921c921
< verror(const char *msgP, ...)
---
> verror(char *msgP, ...)
934,935c934,935
< int
< yyerror(const char *errstr)
---
> void
> yyerror(char *errstr)
940d939
< return 0;
Compiling eval.c complained about non-void functions without return() statements but I can live with that !
Cheers
Peter