Re: error: conflicting types for ‘ws_yy_parse’ - CentOs7
mahesh Lavanam <[email protected]> Mon, 16 Jan 2023 16:17:01 +0530
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <CAH4+LaCFZQeh5y7qS5uLhB3i5KgKYYdSKu+TZfa0y0nPmXHHbA@mail.gmail.com> |
--00000000000032bd4c05f25f4ef4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you. I have installed the 1.4.5.patch & it resolved the issue. Thanks, Mahesh On Mon, Jan 16, 2023 at 4:11 PM Mesbahuddin Malik <[email protected]> wrote: > Try installing all dependencies like > > yum install openssl openssl-devel ncurses-devel > yum groupinstall 'Development tools' -y > yum install openssl-devel openjade jadetex docbook-style-dsssl > texlive-dvips transfig ImageMagick libxml2-devel bison-devel byacc > texlive-collection-xetex -y > yum -y install pcre-devel > yum -y install gsoap-devel > yum -y install autoconf automake make > yum -y install wget git patch svn > yum -y install psmisc > yum -y install perl-Tk perl-Digest-MD5 > yum -y install texlive-devel > yum -y install texlive-* > > Regards > Mesbah > > On Mon, Jan 16, 2023 at 4:09 PM mahesh Lavanam < > [email protected]> wrote: > >> Hi, >> >> Trying to install Kannel 1.4.5 on CentOS 7, seeing below error while >> running make >> >> gcc -std=3Dgnu99 -D_REENTRANT=3D1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=3D600 >> -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES=3D -I/usr/include/libxml2= -o >> wmlscript/wslexer.o -c wmlscript/wslexer.c >> In file included from wmlscript/wslexer.c:72:0: >> y.tab.h:264:5: error: conflicting types for =E2=80=98ws_yy_parse=E2=80= =99 >> In file included from wmlscript/wslexer.c:70:0: >> wmlscript/wsint.h:296:5: note: previous declaration of =E2=80=98ws_yy_pa= rse=E2=80=99 was >> here >> int ws_yy_parse(void *context); >> ^ >> make: *** [wmlscript/wslexer.o] Error 1 >> >> Tried with bison 3.0.4 & 2.5, in both seeing above error, even with 1.4.= 4 >> too. >> >> Can anyone please help me with this. >> >> Thanks, >> Mahesh >> > --00000000000032bd4c05f25f4ef4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thank you.<div><br></div><div>I have installed the 1.4.5.p= atch & it resolved the issue.</div><div><br></div><div>Thanks,</div><di= v>Mahesh</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">On Mon, Jan 16, 2023 at 4:11 PM Mesbahuddin Malik <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>> wrote:<= br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"= >Try=C2=A0 installing all dependencies=C2=A0like<div><br></div><div>yum ins= tall openssl openssl-devel ncurses-devel<br>yum groupinstall 'Developme= nt tools' -y<br>yum install openssl-devel openjade jadetex docbook-styl= e-dsssl texlive-dvips transfig ImageMagick libxml2-devel bison-devel byacc = texlive-collection-xetex -y<br>yum -y install pcre-devel<br>yum -y install = gsoap-devel<br>yum -y install autoconf automake make<br>yum -y install wget= git patch svn <br>yum -y install =C2=A0psmisc<br>yum -y install perl-Tk pe= rl-Digest-MD5<br>yum -y install texlive-devel<br>yum -y install texlive-*<b= r></div><div><br></div><div>Regards=C2=A0</div><div>Mesbah</div></div><br><= div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan= 16, 2023 at 4:09 PM mahesh Lavanam <<a href=3D"mailto:mahesh@metamorphs= ystems.com" target=3D"_blank">[email protected]</a>> wrote:<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">H= i,<div><br></div><div>Trying to install Kannel 1.4.5 on CentOS 7, seeing be= low error while running make=C2=A0</div><div><br></div><div>gcc -std=3Dgnu9= 9 -D_REENTRANT=3D1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=3D600 -D_BSD_SOURCE -D_D= EFAULT_SOURCE -D_LARGE_FILES=3D -I/usr/include/libxml2 -o wmlscript/wslexer= .o -c wmlscript/wslexer.c<br>In file included from wmlscript/wslexer.c:72:0= :<br>y.tab.h:264:5: error: conflicting types for =E2=80=98ws_yy_parse=E2=80= =99<br>In file included from wmlscript/wslexer.c:70:0:<br>wmlscript/wsint.h= :296:5: note: previous declaration of =E2=80=98ws_yy_parse=E2=80=99 was her= e<br>=C2=A0int ws_yy_parse(void *context);<br>=C2=A0 =C2=A0 =C2=A0^<br>make= : *** [wmlscript/wslexer.o] Error 1<br></div><div><br></div><div>Tried with= bison 3.0.4 & 2.5, in both seeing above error, even with 1.4.4 too.</d= iv><div><br></div><div>Can anyone please help me with this.=C2=A0</div><div= ><br></div><div>Thanks,</div><div>Mahesh</div></div> </blockquote></div> </blockquote></div> --00000000000032bd4c05f25f4ef4--