Kannel Installation Error:

John alero <[email protected]> Tue, 24 Sep 2024 16:51:09 +0530
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CADPzVLeFrYdSWiApdMVOZ0wTr5W25pB_=WwePOUz1J7Ey+RbnQ@mail.gmail.com>
--000000000000665f4b0622dbb46e
Content-Type: text/plain; charset="UTF-8"

Dear Team,

I have installed Kannel 1.5.0 on our CentOS Stream release 9.

I have installed all the packages on the Centos server.

When I run the **make** command, we get the below error.

------------------------------

[root@CentOS-90-stream-amd64-base gateway-1.5.0]# make
gcc -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-I/usr/include/mysql -I/usr/include/mysql/mysql -rdynamic -o gw/wapbox
gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lmysqlclient_r -lrt
-lresolv -lm  -lpthread -lxml2 -lz -llzma -lm -L/usr/lib64 -L/usr/lib64/
-lmariadb
/usr/bin/ld:
libwap.a(wtp_resp.o):/opt/kannel/gateway-1.5.0/wap/wtp_resp.c:100: multiple
definition of `dispatch_to_wsp';
libgw.a(wap_push_ota.o):/opt/kannel/gateway-1.5.0/gw/wap_push_ota.c:116:
first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:366: gw/wapbox] Error 1

------------------------------

Please share how to solve this problem.



Thanks
John Alero

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

<div dir=3D"ltr">Dear Team,<div><br></div><div>I have installed Kannel 1.5.=
0 on our=C2=A0<span style=3D"background-color:transparent">CentOS Stream re=
lease 9.</span></div><div><span style=3D"background-color:transparent"><br>=
</span></div><div>I have installed all the packages on the Centos server.</=
div><div><span style=3D"background-color:transparent"><br></span></div><div=
><span style=3D"background-color:transparent">When I run the *<b>make*</b>=
=C2=A0command, we get the below error.=C2=A0</span></div><div><span style=
=3D"background-color:transparent"><br></span></div><div><div>--------------=
----------------</div><div><br></div></div><div>[root@CentOS-90-stream-amd6=
4-base gateway-1.5.0]# make<br>gcc -D_REENTRANT=3D1 -I. -Igw -g -O2 -D_XOPE=
N_SOURCE=3D600 -D_BSD_SOURCE -D_LARGE_FILES=3D -I/usr/include/libxml2 -I/us=
r/include/openssl -I/usr/include/mysql -I/usr/include/mysql/mysql -rdynamic=
 -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lmysq=
lclient_r -lrt -lresolv -lm =C2=A0-lpthread -lxml2 -lz -llzma -lm -L/usr/li=
b64 -L/usr/lib64/ -lmariadb<br>/usr/bin/ld: libwap.a(wtp_resp.o):/opt/kanne=
l/gateway-1.5.0/wap/wtp_resp.c:100: multiple definition of `dispatch_to_wsp=
&#39;; libgw.a(wap_push_ota.o):/opt/kannel/gateway-1.5.0/gw/wap_push_ota.c:=
116: first defined here<br>collect2: error: ld returned 1 exit status<br>ma=
ke: *** [Makefile:366: gw/wapbox] Error 1<br></div><div><br></div><div>----=
--------------------------</div><div><br></div><div>Please share how to sol=
ve this problem.</div><div><br></div><div><br></div><div><br></div><div>Tha=
nks</div><div>John Alero</div></div>

--000000000000665f4b0622dbb46e--