Discussion:
Kannel Installation @ Centos 7.3
vinay panwar
2018-02-19 04:04:35 UTC
Permalink
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

Loading...