Install bison-2.5 On Fri, Aug 3, 2018 at 11:43 AM Martin Atukunda <matl...@gmail.com> wrote:
> Hi all, > > this error is also in the recently released gateway-1.4.5 > > Cheers, > > - Martin - > > > On Wed, 25 Jul 2018 at 17:36, Angela Kiama <njeriki...@gmail.com> wrote: > >> Hello, >> >> Kindly assist I get the following error after running sudo make. >> >> cc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 >> -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -o wmlscript/wsgram.o >> -c wmlscript/wsgram.c >> y.tab.c:350:5: error: conflicting types for ‘ws_yy_parse’ >> In file included from wmlscript/wsgram.y:15:0: >> ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ >> was here >> int ws_yy_parse(void *context); >> ^ >> wmlscript/wsgram.c:63:25: error: conflicting types for ‘ws_yy_parse’ >> #define yyparse ws_yy_parse >> ^ >> y.tab.c:1510:1: note: in expansion of macro ‘yyparse’ >> In file included from wmlscript/wsgram.y:15:0: >> ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ >> was here >> int ws_yy_parse(void *context); >> ^ >> wmlscript/wsgram.y: In function ‘ws_yy_parse’: >> wmlscript/wsgram.y:122:23: error: ‘pctx’ undeclared (first use in this >> function) >> { ws_error_syntax(pctx, @1.first_line); } >> ^ >> wmlscript/wsgram.y:122:23: note: each undeclared identifier is reported >> only once for each function it appears in >> make: *** [wmlscript/wsgram.o] Error 1 >> >>