Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

Robin C <[email protected]> Sun, 16 Apr 2023 15:04:28 +0400
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAP+JBkb38HGDQKeZ6of0R2rhs8uRKm4YobSX1z=Xi9J9_b8u2A@mail.gmail.com>
--0000000000007e8e7605f9720a6e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 =E2=80=98ws_yy_parse=E2=80=99; =
have =E2=80=98int(void)=E2=80=99
In file included from wmlscript/wsgram.y:15:
./wmlscript/wsint.h:296:5: note: previous declaration of =E2=80=98ws_yy_par=
se=E2=80=99 with
type =E2=80=98int(void *)=E2=80=99
  296 | int ws_yy_parse(void *context);
      |     ^~~~~~~~~~~
wmlscript/wsgram.c:68:25: error: conflicting types for =E2=80=98ws_yy_parse=
=E2=80=99; have
=E2=80=98int(void)=E2=80=99
   68 | #define yyparse         ws_yy_parse
      |                         ^~~~~~~~~~~
y.tab.c:1578:1: note: in expansion of macro =E2=80=98yyparse=E2=80=99
In file included from wmlscript/wsgram.y:15:
./wmlscript/wsint.h:296:5: note: previous declaration of =E2=80=98ws_yy_par=
se=E2=80=99 with
type =E2=80=98int(void *)=E2=80=99
  296 | int ws_yy_parse(void *context);
      |     ^~~~~~~~~~~
wmlscript/wsgram.y: In function =E2=80=98ws_yy_parse=E2=80=99:
wmlscript/wsgram.y:122:49: error: =E2=80=98pctx=E2=80=99 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=E2=80=AFPM Antony Stone <
[email protected]> 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* C=
C
> me.
>
>

--=20
 *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

--0000000000007e8e7605f9720a6e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Dear Antony,</div><div>Please find the commands below=
. I already=C2=A0shared the eroor. I am sharing the error message below.</d=
iv><div><br></div><div>I am using Ubuntu 22.04, Bison 1.4.5.</div>#wget <a =
href=3D"https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz">https:/=
/www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz</a> --no-check-certific=
ate<br><br># tar -zxvf gateway-1.4.5.tar.gz<br># cd gateway-1.4.5/<br># ./c=
onfigure --with-mysql<br># make<div><br></div><div>Getting the following er=
ror after giving make.</div><div><br></div><div>y.tab.c:368:5: error: confl=
icting types for =E2=80=98ws_yy_parse=E2=80=99; have =E2=80=98int(void)=E2=
=80=99<br>In file included from wmlscript/wsgram.y:15:<br>./wmlscript/wsint=
.h:296:5: note: previous declaration of =E2=80=98ws_yy_parse=E2=80=99 with =
type =E2=80=98int(void *)=E2=80=99<br>=C2=A0 296 | int ws_yy_parse(void *co=
ntext);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 ^~~~~~~~~~~<br>wmlscript/ws=
gram.c:68:25: error: conflicting types for =E2=80=98ws_yy_parse=E2=80=99; h=
ave =E2=80=98int(void)=E2=80=99<br>=C2=A0 =C2=A068 | #define yyparse =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 ws_yy_parse<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~=
~~~~~~<br>y.tab.c:1578:1: note: in expansion of macro =E2=80=98yyparse=E2=
=80=99<br>In file included from wmlscript/wsgram.y:15:<br>./wmlscript/wsint=
.h:296:5: note: previous declaration of =E2=80=98ws_yy_parse=E2=80=99 with =
type =E2=80=98int(void *)=E2=80=99<br>=C2=A0 296 | int ws_yy_parse(void *co=
ntext);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 ^~~~~~~~~~~<br>wmlscript/ws=
gram.y: In function =E2=80=98ws_yy_parse=E2=80=99:<br>wmlscript/wsgram.y:12=
2:49: error: =E2=80=98pctx=E2=80=99 undeclared (first use in this function)=
<br>=C2=A0 122 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 { =
ws_error_syntax(pctx, @1.first_line); }<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 ^~~~<br>wmlscript/wsgram.y:122:49: note: each undeclared iden=
tifier is reported only once for each function it appears in<br>make: *** [=
Makefile:225: wmlscript/wsgram.o] Error 1<div class=3D"gmail-yj6qo gmail-aj=
U" style=3D"outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><b=
r class=3D"gmail-Apple-interchange-newline"></div><div><br></div><div><br><=
/div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g=
mail_attr">On Sun, Apr 16, 2023 at 2:52=E2=80=AFPM Antony Stone &lt;<a href=
=3D"mailto:[email protected]">[email protected]=
rce.it</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">On Sunday 16 April 2023 at 12:41:44, Robin C wrote:<br>
<br>
&gt; But I am getting error while doing make.=C2=A0 I am trying to install =
kannel<br>
&gt; 1.4.5 and=C2=A0 bison (GNU Bison) 3.8.2.<br>
<br>
Well, show us the commands you are running and exactly what error message/s=
 <br>
you are seeing.<br>
<br>
You signed your original message as &quot;Robin C, Linux System Administrat=
or&quot;.=C2=A0 I <br>
would expect any sys admin with at least modest experience to know that say=
ing <br>
&quot;I&#39;m getting an error&quot; is almost bound to prompt the reply &q=
uot;there&#39;s probably <br>
something wrong then&quot;.<br>
<br>
The quality of assistance you can get is very closely related to the qualit=
y <br>
of information you provide.<br>
<br>
<br>
Regards,<br>
<br>
<br>
Antony.<br>
<br>
-- <br>
The Magic Words are Squeamish Ossifrage.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Please reply to the list;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0please *don&#39;t* C=
C me.<br>
<br>
</blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><div dir=3D"ltr"><span style=3D"font-family:&quot;comic=
 sans ms&quot;,sans-serif"><b style=3D"font-size:13px"><span style=3D"font-=
family:georgia,serif">=C2=A0</span></b><span style=3D"font-family:georgia,s=
erif"><b style=3D"font-size:13px"><span style=3D"font-size:9pt;line-height:=
13px"><i>Thanks &amp; Regards,</i></span></b></span></span><p style=3D"font=
-size:13px;margin:0px"><font color=3D"#6600cc" face=3D"georgia, serif"><spa=
n style=3D"line-height:14px"><b>=C2=A0 =C2=A0 =C2=A0=C2=A0</b></span></font=
></p><p style=3D"font-size:13px;margin:0px"><span style=3D"font-weight:bold=
;font-family:Arial,sans-serif;font-size:9pt;line-height:13px">=C2=A0 =C2=A0=
 =C2=A0<font size=3D"4">=C2=A0</font><font size=3D"2"><font size=3D"2">Robi=
n C</font><br></font></span></p><font size=3D"2"></font><p style=3D"margin:=
0px"><span style=3D"font-weight:bold;font-family:Arial,sans-serif;line-heig=
ht:13px">=C2=A0 =C2=A0=C2=A0 Linux System Administrator</span></p><div dir=
=3D"ltr" style=3D"font-size:12.8px"><span style=3D"font-size:9pt;line-heigh=
t:13px"><font color=3D"#333333"><br></font></span></div><div dir=3D"ltr" st=
yle=3D"font-size:12.8px"><span style=3D"font-size:9pt;line-height:13px"><sp=
an style=3D"color:rgb(51,51,51)">Web :=C2=A0</span><a href=3D"http://www.re=
fined.co.in/" style=3D"color:rgb(17,85,204)" target=3D"_blank">www.refined.=
co.in</a></span></div><div dir=3D"ltr" style=3D"font-size:12.8px"><span sty=
le=3D"font-size:9pt;line-height:13px"><br></span></div><div dir=3D"ltr" sty=
le=3D"font-size:12.8px"><span style=3D"font-size:9pt;line-height:13px">Addr=
ess : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,=C2=A0</span><span =
style=3D"font-size:9pt">Vazhuthacaud,=C2=A0</span><span style=3D"font-size:=
9pt">Thiruvananthapuram, Kerala - 695014</span></div><div dir=3D"ltr" style=
=3D"font-size:12.8px"><span style=3D"font-size:9pt;line-height:13px"><font =
color=3D"#333333"><br></font></span></div><div dir=3D"ltr" style=3D"font-si=
ze:12.8px"><span style=3D"font-size:9pt;line-height:13px"><font color=3D"#3=
33333"><br></font></span></div><p style=3D"margin:0px"><span style=3D"font-=
weight:bold;font-family:Arial,sans-serif;line-height:13px"></span></p><div =
dir=3D"ltr" style=3D"font-size:12.8px"><font color=3D"#333333"><span style=
=3D"font-size:9pt;line-height:13px"><i><img src=3D"https://docs.google.com/=
uc?export=3Ddownload&amp;id=3D0B9Ym4LB2FdGLRFJmellhYmtfNW8&amp;revid=3D0B9Y=
m4LB2FdGLVzQ0N3VNL204MldaM2luS0JtVDhRT2hQaGhzPQ"><br></i></span></font></di=
v><p style=3D"font-size:13px;margin:0px"><span style=3D"font-weight:bold;fo=
nt-family:Arial,sans-serif;font-size:9pt;line-height:13px"><br></span></p><=
p style=3D"font-size:13px;margin:0px"><br></p><div><font><div style=3D"font=
-family:georgia,serif;font-size:13px;font-weight:bold"><br></div><div><p st=
yle=3D"text-align:justify"><font face=3D"georgia, serif" size=3D"1">Disclai=
mer:=C2=A0=C2=A0This message contains confidential information and is inten=
ded only for the individual named.=C2=A0=C2=A0If you are not the named addr=
essee you should not disseminate, distribute or copy this e-mail.=C2=A0=C2=
=A0Please notify the sender immediately by e-mail if you have received this=
 e-mail by mistake and delete this e-mail from your system.=C2=A0=C2=A0E-ma=
il transmission cannot be guaranteed to be secure or error-free as informat=
ion could be intercepted, corrupted, lost, destroyed, arrive late or incomp=
lete, or contain viruses.=C2=A0=C2=A0The sender therefore does not accept l=
iability for any errors or omissions in the contents of this message, which=
 arise as a result of e-mail transmission.=C2=A0=C2=A0If verification is re=
quired please request a hard-copy version.</font></p><p style=3D"font-weigh=
t:bold;text-align:justify"><b style=3D"text-align:start;color:rgb(80,0,80)"=
><i><span style=3D"font-size:14pt;font-family:&quot;Wingdings 3&quot;;color=
:rgb(192,0,0)">7</span></i></b><span style=3D"font-weight:normal;text-align=
:start;color:rgb(192,0,0);font-size:14pt;font-family:Consolas">=C2=A0</span=
><span style=3D"font-weight:normal;text-align:start;color:rgb(80,0,80);font=
-size:9pt;font-family:&quot;Segoe UI&quot;,sans-serif">Switch off as you go=
</span><span style=3D"font-weight:normal;text-align:start;color:rgb(23,54,9=
3);font-size:11pt;font-family:Calibri,sans-serif">=C2=A0</span><span style=
=3D"font-weight:normal;text-align:start;color:rgb(23,54,93);font-size:11pt;=
font-family:TechnicLite,serif">|</span><b style=3D"text-align:start;color:r=
gb(80,0,80)"><span style=3D"font-size:14pt;font-family:Webdings;color:rgb(0=
,176,240)">q=C2=A0</span></b><span style=3D"font-weight:normal;text-align:s=
tart;color:rgb(80,0,80);font-size:9pt;font-family:&quot;Segoe UI&quot;,sans=
-serif">Recycle always</span><span style=3D"font-weight:normal;text-align:s=
tart;color:rgb(23,54,93);font-size:11pt;font-family:Calibri,sans-serif">=C2=
=A0</span><span style=3D"font-weight:normal;text-align:start;color:rgb(23,5=
4,93);font-size:11pt;font-family:TechnicLite,serif">|</span><span style=3D"=
font-weight:normal;text-align:start;color:rgb(23,54,93);font-size:11pt;font=
-family:Calibri,sans-serif">=C2=A0</span><span style=3D"font-weight:normal;=
text-align:start;color:rgb(0,176,80);font-size:14pt;font-family:Webdings">P=
</span><span style=3D"font-weight:normal;text-align:start;color:rgb(23,54,9=
3);font-size:11pt;font-family:Consolas">=C2=A0</span><span style=3D"font-we=
ight:normal;text-align:start;color:rgb(80,0,80);font-size:9pt;font-family:&=
quot;Segoe UI&quot;,sans-serif">Print only if absolutely necessary</span></=
p></div></font></div></div></div></div></div>

--0000000000007e8e7605f9720a6e--