error: conflicting types for ‘ws_yy_parse’ - Cen tOs7

mahesh Lavanam <[email protected]> Mon, 16 Jan 2023 13:53:46 +0530
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAH4+LaDFRAggzgAApxuucr=gybBfc7LY7Psfa=1D8HHQ6w1-Kw@mail.gmail.com>
--000000000000ed36b405f25d4de4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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_parse=
=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

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

<div dir=3D"ltr">Hi,<div><br></div><div>Trying to install Kannel 1.4.5 on C=
entOS 7, seeing below error while running make=C2=A0</div><div><br></div><d=
iv>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<br>In file included from wmlscr=
ipt/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_pa=
rse=E2=80=99 was here<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, e=
ven with 1.4.4 too.</div><div><br></div><div>Can anyone please help me with=
 this.=C2=A0</div><div><br></div><div>Thanks,</div><div>Mahesh</div></div>

--000000000000ed36b405f25d4de4--