Angela Kiama
2018-07-25 14:35:44 UTC
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
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