Dear Antony, Please find the commands below. I already shared the eroor. I am sharing the error message below.
I am using Ubuntu 22.04, Bison 1.4.5. #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz --no-check-certificate # tar -zxvf gateway-1.4.5.tar.gz # cd gateway-1.4.5/ # ./configure --with-mysql # make Getting the following error after giving make. y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’ In file included from wmlscript/wsgram.y:15: ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with type ‘int(void *)’ 296 | int ws_yy_parse(void *context); | ^~~~~~~~~~~ wmlscript/wsgram.c:68:25: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’ 68 | #define yyparse ws_yy_parse | ^~~~~~~~~~~ y.tab.c:1578:1: note: in expansion of macro ‘yyparse’ In file included from wmlscript/wsgram.y:15: ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with type ‘int(void *)’ 296 | int ws_yy_parse(void *context); | ^~~~~~~~~~~ wmlscript/wsgram.y: In function ‘ws_yy_parse’: wmlscript/wsgram.y:122:49: error: ‘pctx’ undeclared (first use in this function) 122 | { ws_error_syntax(pctx, @1.first_line); } | ^~~~ wmlscript/wsgram.y:122:49: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:225: wmlscript/wsgram.o] Error 1 On Sun, Apr 16, 2023 at 2:52 PM Antony Stone < antony.st...@kannel.open.source.it> wrote: > On Sunday 16 April 2023 at 12:41:44, Robin C wrote: > > > But I am getting error while doing make. I am trying to install kannel > > 1.4.5 and bison (GNU Bison) 3.8.2. > > Well, show us the commands you are running and exactly what error > message/s > you are seeing. > > You signed your original message as "Robin C, Linux System > Administrator". I > would expect any sys admin with at least modest experience to know that > saying > "I'm getting an error" is almost bound to prompt the reply "there's > probably > something wrong then". > > The quality of assistance you can get is very closely related to the > quality > of information you provide. > > > Regards, > > > Antony. > > -- > The Magic Words are Squeamish Ossifrage. > > Please reply to the > list; > please *don't* CC > me. > > -- *Thanks & Regards,* Robin C Linux System Administrator Web : www.refined.co.in Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. *7* Switch off as you go |*q *Recycle always | P Print only if absolutely necessary