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

Reply via email to