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

Reply via email to