On CentOS 7.6 it is impossible to compile Kannel right now. According to google results this has been going on for some time with no real solution available online.
Two solutions have been offered; 1. Install Bison 2. Install Bison < 3 I've tried both, installing Bison 3.0.4 which is the latest version in CentOS 7 repos. And removing that, replacing it with a custom compile of Bison 2.7.1 from the GNU FTP servers. I get the same error when running make using both configurations; gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/pgsql-11/include -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 I ran configure with ./configure --prefix=/var/opt/kannel --with-pgsql --with-pgsql-dir=/usr/pgsql-11 I've installed bison 2.7 into /usr/local but I've also tried running LDFLAGS=/usr/local/lib make. -- Vänliga Hälsningar / Sincerely Stefan M