我正在尝试在 Ubuntu 服务器 18.04 上安装 kannel,当我执行此命令时:
make
它开始做事(我是初学者)但最后它显示:
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); did you mean ‘puts’?
{ ws_error_syntax(pctx, @1.first_line); }
^~~~
puts
wmlscript/wsgram.y:122:23: note: each undeclared identifier is reported only once for each function it appears in
Makefile:225: recipe for target 'wmlscript/wsgram.o' failed
make: *** [wmlscript/wsgram.o] Error 1
我需要帮助
我正在关注本教程:text