Re: Error in LD when building kannel on Ubuntu 22.04

2023-07-05 Thread Eduard Takhtamirov
Try --with-ssl=/usr/lib/x86_64-linux-gnu in configure command

On Tue, Jul 4, 2023 at 3:24 PM Paulo Correia 
wrote:

> Hello kannel users,
>
> I'm trying to build kannel on Ubuntu Server 22.04 but keep getting the
> following LD error:
>
> /usr/bin/ld:
> libwap.a(wtp_resp.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/wap/wtp_resp.c:100:
> multiple definition of `dispatch_to_wsp';
> libgw.a(wap_push_ota.o):/tmp/tmp.jkHPbxZ32N/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
>
> The configure command was:
> ./configure --with-defaults=speed --with-redis --enable-ssl
> --with-ssl=/usr/lib/ssl --prefix=/opt/local/gateway-1.4.5
> --enable-start-stop-daemon
>
> and then called "make".
>
> I had no issues with CentOS 7 and CentOS 8 ...
>
> Any clues?
>
> Kind regards,
> *Paulo Correia*
> Systems Architect
>
> *telephone:*+351210337760 *fax:* +351210337761
> *email:* paulo.corr...@go4mobility.com skype: pcorreia.g4m
>
> [image: assinatura_email_go4mobility_comlogo]
> 
>
> [image: assinatura_email_go4mobility_followus]
> 
>
>
> _
>
> *CONFIDENTIALITY*
>
> *This message, as well as existing attached files, may be confidential and
> privileged. Use or disclosure by anyone other than an intended recipient is
> not authorized.*
>
> *If you have received this message by error, you are kindly requested to
> delete it and notify the sender. Thank you for your cooperation.*
> 
>
>


Re: Error in LD when building kannel on Ubuntu 22.04

2023-07-05 Thread lbrezs...@gmx.co.uk

Last time I compiled on debian, bison 3.0 would give me errors when
compiling kannel package.


Remove
$ sudo apt-get remove bison

Install bison version 2.7:

$ sudo wget
http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
$ sudo wget
http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
$ sudo dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
$ sudo dpkg -i bison_2.7.1.dfsg-1_amd64.deb
$ sudo rm bison_2.7.1.dfsg-1_amd64.deb libbison-dev_2.7.1.dfsg-1_amd64.deb

To prevent update manager from overwriting this package

$ sudo apt-mark hold libbison-dev
$ sudo apt-mark hold bison


On 7/4/2023 10:43, Paulo Correia wrote:

Hello kannel users,

I'm trying to build kannel on Ubuntu Server 22.04 but keep getting the
following LD error:

/usr/bin/ld:
libwap.a(wtp_resp.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/wap/wtp_resp.c:100:
multiple definition of `dispatch_to_wsp';
libgw.a(wap_push_ota.o):/tmp/tmp.jkHPbxZ32N/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

The configure command was:
./configure --with-defaults=speed --with-redis --enable-ssl
--with-ssl=/usr/lib/ssl --prefix=/opt/local/gateway-1.4.5
--enable-start-stop-daemon

and then called "make".

I had no issues with CentOS 7 and CentOS 8 ...

Any clues?

Kind regards,
*Paulo Correia*
Systems Architect

*telephone:*+351210337760*fax:* +351210337761
*email:* paulo.corr...@go4mobility.com skype: pcorreia.g4m

assinatura_email_go4mobility_comlogo

assinatura_email_go4mobility_followus

_

/CONFIDENTIALITY/

/This message, as well as existing attached files, may be confidential
and privileged. Use or disclosure by anyone other than an intended
recipient is not authorized./

/If you have received this message by error, you are kindly requested
to delete it and notify the sender. Thank you for your cooperation./




Error in LD when building kannel on Ubuntu 22.04

2023-07-04 Thread Paulo Correia
Hello kannel users,

I'm trying to build kannel on Ubuntu Server 22.04 but keep getting the 
following LD error:

/usr/bin/ld: 
libwap.a(wtp_resp.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/wap/wtp_resp.c:100: 
multiple definition of `dispatch_to_wsp'; 
libgw.a(wap_push_ota.o):/tmp/tmp.jkHPbxZ32N/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

The configure command was:
./configure --with-defaults=speed --with-redis --enable-ssl 
--with-ssl=/usr/lib/ssl --prefix=/opt/local/gateway-1.4.5 
--enable-start-stop-daemon

and then called "make".

I had no issues with CentOS 7 and CentOS 8 ...

Any clues?

Kind regards,
Paulo Correia
Systems Architect

telephone:+351210337760 fax: +351210337761
email: paulo.corr...@go4mobility.com 
skype: pcorreia.g4m

[assinatura_email_go4mobility_comlogo]

[assinatura_email_go4mobility_followus]

_

CONFIDENTIALITY

This message, as well as existing attached files, may be confidential and 
privileged. Use or disclosure by anyone other than an intended recipient is not 
authorized.

If you have received this message by error, you are kindly requested to delete 
it and notify the sender. Thank you for your cooperation.