1 Replies Last post: Nov 7, 2008 8:30 PM by Guest  
  29 posts since
Feb 12, 2008

Nov 7, 2008 2:08 PM

Error in SIPTransaction.cxx

I was trying to install opensipstack (version 1.1.11) and I had this error:


SIPTransaction.cxx: In member function 'PUDPSocket* SIPTransactions::SIPTransaction::CreateUDPSocket()':
SIPTransaction.cxx:784: error: conversion from 'Tools::OString' to non-scalar type 'PIPSocket::Address' requested
make[2]: *** [/usr/local/opensipstack/lib/obj_linux_x86_r/SIPTransaction.o] Error 1
make[2]: Leaving directory `/usr/local/opensipstack/src'
make[1]: *** [optnoshared] Error 2
make[1]: Leaving directory `/usr/local/opensipstack/src'
make: *** [optnoshared] Error 2


I see in the file at line #784 that was wrote:


PIPSocket::Address localAddress = m_InterfaceAddress;


I change this line to


PIPSocket::Address localAddress = PIPSocket::Address(m_InterfaceAddress);


and the I dont have any error...

Daniel Cardoso Alves.

Guest
1. Nov 7, 2008 8:30 PM in response to: dcardosoa
Re: [OpenSIPStack] Error in SIPTransaction.cxx
Thanks for reporting. I've commited a patch in CVS.

Joegen

OpenSIPStack Forum wrote:
I was trying to install opensipstack (version 1.1.11) and I had this error:


SIPTransaction.cxx: In member function 'PUDPSocket* SIPTransactions::SIPTransaction::CreateUDPSocket()':
SIPTransaction.cxx:784: error: conversion from 'Tools::OString' to non-scalar type 'PIPSocket::Address' requested
make[2]: *** [/usr/local/opensipstack/lib/obj_linux_x86_r/SIPTransaction.o] Error 1
make[2]: Leaving directory `/usr/local/opensipstack/src'
make[1]: *** [optnoshared] Error 2
make[1]: Leaving directory `/usr/local/opensipstack/src'
make: *** [optnoshared] Error 2


I see in the file at line #784 that was wrote:

PIPSocket::Address localAddress = m_InterfaceAddress;


I change this line to

PIPSocket::Address localAddress = PIPSocket::Address(m_InterfaceAddress);

and the I dont have any error...