Kannel - Bug #828
Problem when trying to compile Kannel 1.4.5 on ubuntu 22.05
2022/04/29 04:15 - Bone Mab

ステータス:Resolved

開始日:

優先度:

Normal期日:2022/04/29

担当者:

進捗率:0%

カテゴリ:

予定工数:

0.00時間対象バージョン:Affected version:
説明
Hello,
I'm trying to install Kannel 1.4.5 on Ubuntu 22.05. I'm having the error below while compiling the project (make). I tried versions
1.4.4 and 1.4.3 for comparison and the result is the same. Could someone help me please to figure out what is missing in myenvironment in order to solve it? I'm not familiar with C and it is the first time I'm using Kannel.
Thank you!
Bonegcc -D̲REENTRANT=1 -I. -Igw -g -O2 -D̲XOPEN̲SOURCE=600 -D̲BSD̲SOURCE -D̲DEFAULT̲SOURCE -D̲LARGE̲FILES=-I/usr/include/libxml2 -I/usr/include/openssl -o gw/wapbox.o -c gw/wapbox.c
gcc -D̲REENTRANT=1 -I. -Igw -g -O2 -D̲XOPEN̲SOURCE=600 -D̲BSD̲SOURCE -D̲DEFAULT̲SOURCE -D̲LARGE̲FILES=-I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a
libgwlib.a -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib/gcc/x86̲64-linux-gnu/11/../../../x86̲64-linux-gnu -lcrypto -lssl
gcc -D̲REENTRANT=1 -I. -Igw -g -O2 -D̲XOPEN̲SOURCE=600 -D̲BSD̲SOURCE -D̲DEFAULT̲SOURCE -D̲LARGE̲FILES=-I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o wmlscript/wmlsdasm wmlscript/wmlsdasm.o libgw.a libwmlscript.a
libwap.a libgwlib.a -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib/gcc/x86̲64-linux-gnu/11/../../../x86̲64-linux-gnu -lcrypto-lssl
gcc -D̲REENTRANT=1 -I. -Igw -g -O2 -D̲XOPEN̲SOURCE=600 -D̲BSD̲SOURCE -D̲DEFAULT̲SOURCE -D̲LARGE̲FILES=-I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o gw/bearerbox gw/bearerbox.o libgw.a libwmlscript.a libwap.a libgwlib.a-lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib/gcc/x86̲64-linux-gnu/11/../../../x86̲64-linux-gnu -lcrypto -lssl
gcc -D̲REENTRANT=1 -I. -Igw -g -O2 -D̲XOPEN̲SOURCE=600 -D̲BSD̲SOURCE -D̲DEFAULT̲SOURCE -D̲LARGE̲FILES=-I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o gw/smsbox gw/smsbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl-lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib/gcc/x86̲64-linux-gnu/11/../../../x86̲64-linux-gnu -lcrypto -lssl
gcc -D̲REENTRANT=1 -I. -Igw -g -O2 -D̲XOPEN̲SOURCE=600 -D̲BSD̲SOURCE -D̲DEFAULT̲SOURCE -D̲LARGE̲FILES=-I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl-lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib/gcc/x86̲64-linux-gnu/11/../../../x86̲64-linux-gnu -lcrypto -lssl/usr/bin/ld: libwap.a(wtp̲resp.o):/home/mzone/Documents/gateway-1.4.5/wap/wtp̲resp.c:100: multiple definition of
̀dispatch̲to̲wsp'; libgw.a(wap̲push̲ota.o):/home/mzone/Documents/gateway-1.4.5/gw/wap̲push̲ota.c:116: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:361: gw/wapbox] Error 1
履歴#1 - 2022/06/18 20:23 - Leonid Brezshnev
Got the same error on Debian 11. Was able to get around it by modifying wap c file from "dispatch̲to̲wsp" to "dispatch̲to̲wsp2". I know it's aproper solution, but I am not using a wap portion at all.
#2 - 2022/06/21 09:36 - Alexander MalyshHi,
please try SVN version.
Thanks,2024/10/10

1/4

Alex
#3 - 2023/05/14 01:16 - Mohamed Alazabi
Hi,
observedsameerror

andstillstruggling

tofindaworkaround,renamingthe"dispatch̲to̲wsp"

didnotsolve

theissue#4 - 2023/05/14 02:13 - Mohamed Alazabi
im using redhat 9#5 - 2023/05/14 12:29 - Alexander Malysh
Mohamed Alazabi wrote:Hi,
observed same error and still struggling to find a workaround, renaming the "dispatch̲to̲wsp" did not solve the issue .

Hi,
did you try SVN version?
#6 - 2023/06/21 05:34 - Gilbert Arias
hello im suffering the same issue, how do i get the SVN version downloaded ?
#7 - 2023/06/21 09:13 - Alexander Malysh
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml#8 - 2023/09/12 22:13 - Ritesh Patel
Hey Alex,
I am running into the same error. I tried toAlexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml@Aleander, I am running into the same issue and I followed these instructions -> svn co https://svn.kannel.org/gateway/trunk -> cd trunk -> I am
seeing Makefile.am and Makefile.in̲old and etc -> how am I supposed to use this? (or am I doing it wrong?)..

2024/10/10

2/4.

#9 - 2023/09/12 22:14 - Ritesh Patel@Aleander, I am running into the same issue and I followed these instructions -> svn co https://svn.kannel.org/gateway/trunk -> cd trunk -> I am
seeing Makefile.am and Makefile.in̲old and etc -> how am I supposed to use this? (or am I doing it wrong?).. can you provide me the steps in orderto get the SVN version?
#10 - 2023/09/12 22:15 - Ritesh Patel> Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml#11 - 2023/09/13 12:14 - Alexander MalyshHi,
svn co https://svn.kannel.org/gateway/trunk gateway
cd gateway./bootstrap.sh./configure
makeRitesh Patel wrote:
Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:

2024/10/10

3/4

hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml#12 - 2023/09/13 20:04 - Ritesh Patel
That worked thank you
Alexander Malysh wrote:Hi,
svn co https://svn.kannel.org/gateway/trunk gateway
cd gateway./bootstrap.sh./configure
makeRitesh Patel wrote:
Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml

Alexander Malysh wrote:
Gilbert Arias wrote:
hello im suffering the same issue, how do i get the SVN version downloaded ?

https://kannel.org/download.shtml#13 - 2023/09/14 09:31 - Alexander Malysh- ステータス を New から Resolved に変更#14 - 2024/05/07 04:17 - Freddie Conley
Changed the wap c file from "dispatch̲to̲wsp" to "dispatch̲to̲wsp2" allowed me to get past it. I'm aware that this is the right option, however I'm
not utilizing the wap feature basket random at all.
#15 - 2024/09/22 20:34 - Ritesh Patel@alexander, will you be able to take a look at this MT issue I am facing in this post that I mentioned - https://redmine.kannel.org/issues/841

2024/10/10

4/4