Re: error: conflicting types for ‘ws_yy_parse’ - CentOs7

Mesbahuddin Malik <[email protected]> Mon, 16 Jan 2023 16:41:45 +0600
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAG=0pxxd5FHjgFT2yXkDvWYwPgH4XqHWnG+oUamWh8SZYBe0LQ@mail.gmail.com>
--00000000000085fd0405f25f3b80
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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_par=
se=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
>

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

<div dir=3D"ltr">Try=C2=A0 installing all dependencies=C2=A0like<div><br></=
div><div>yum install openssl openssl-devel ncurses-devel<br>yum groupinstal=
l &#39;Development tools&#39; -y<br>yum install openssl-devel openjade jade=
tex docbook-style-dsssl texlive-dvips transfig ImageMagick libxml2-devel bi=
son-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 in=
stall perl-Tk perl-Digest-MD5<br>yum -y install texlive-devel<br>yum -y ins=
tall texlive-*<br></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_a=
ttr">On Mon, Jan 16, 2023 at 4:09 PM mahesh Lavanam &lt;<a href=3D"mailto:m=
[email protected]">[email protected]</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,=
<div><br></div><div>Trying to install Kannel 1.4.5 on CentOS 7, seeing belo=
w error while running make=C2=A0</div><div><br></div><div>gcc -std=3Dgnu99 =
-D_REENTRANT=3D1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=3D600 -D_BSD_SOURCE -D_DEF=
AULT_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 &amp; 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>

--00000000000085fd0405f25f3b80--