vinay panwar
2018-02-19 04:04:35 UTC
Hi,
How do we get resolve below issue?
Below issue generated in installation.
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGEconfigure.txt
<http://kannel.6189.n7.nabble.com/file/n31254/configure.txt>make.txt
<http://kannel.6189.n7.nabble.com/file/n31254/make.txt>_FILES=
-I/usr/include/libxml2 -o wmlscript/wsgram.o -c wmlscript/wsgram.c
y.tab.c:348: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:1508: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
Thank you,
Best Regards,
Vinay Panwar
How do we get resolve below issue?
Below issue generated in installation.
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGEconfigure.txt
<http://kannel.6189.n7.nabble.com/file/n31254/configure.txt>make.txt
<http://kannel.6189.n7.nabble.com/file/n31254/make.txt>_FILES=
-I/usr/include/libxml2 -o wmlscript/wsgram.o -c wmlscript/wsgram.c
y.tab.c:348: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:1508: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
Thank you,
Best Regards,
Vinay Panwar