For testing and fun purposes I downloaded the Shakespeare Programming language.
http://shakespearelang.sourceforge.net/
I tried to run the Makefile through make
and it spits out this result:
gcc grammar.tab.o scanner.o strutils.o -O2 -Wall -lfl -o spl2c
grammar.tab.o: In function `report_error':
grammar.tab.c:(.text+0x9): undefined reference to `yylineno'
grammar.tab.o: In function `report_warning':
grammar.tab.c:(.text+0x49): undefined reference to `yylineno'
grammar.tab.o: In function `yyparse':
grammar.tab.c:(.text+0x515): undefined reference to `yylex'
grammar.tab.c:(.text+0x682): undefined reference to `yylineno'
grammar.tab.c:(.text+0x708): undefined reference to `yylineno'
grammar.tab.c:(.text+0x7ce): undefined reference to `yylineno'
grammar.tab.c:(.text+0x882): undefined reference to `yylineno'
grammar.tab.c:(.text+0x8f6): undefined reference to `yylineno'
grammar.tab.o:grammar.tab.c:(.text+0x9aa): more undefined references to `yylineno' follow
collect2: error: ld returned 1 exit status
make: *** [spl2c] Error 1
Does anyone know what could be going wrong when trying to make?
I tried looking at this to resolve my issue but found nothing.