< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Couldn't determine local hostname. Error was: nodename nor servname provided, or not known. Returning empty string
and then (i don't know if related) an assertion in SipStack.cxx: 769
ERR | 20171123-170235.228 | | RESIP | 0x16e49b000 | SipStack.cxx:768 | gethostbyname failed, returning "127.0.0.1"
Assertion failed: (0), function getHostAddress, file SipStack.cxx, line 769.
Does anyone know about why that's happening?
Nothing too much special.
I think the biggest thing is iOS special requirements for VoIP applications.
You can't expect iOS will retain TCP/TLS connection in background.
See Apple's doc:
https://developer.apple.com/library/content/documentation/ Performance/Conceptual/ EnergyGuide-iOS/OptimizeVoIP. html
> ______________________________
On Fri, Nov 17, 2017 at 3:30 AM, Francesco Lamonica
<alienpenguin@xxxxxxxxx> wrote:
> Hi all,
> i am wondering if there is any special care that should be taken when
> compiling for iOS.
>
> i.e. i see in compat.hxx that there is some code definition enclosed in
> TARGET_IPHONE_OS
> Should that be defined when compiling it?
>
> Beacuse when i try to link my application to the ios libraries i get an
> undefined symbol errors regarding resip::Data::copy(const char*, unsigned
> long) and resip::Data(const char*, unsigned long)
>
> with nm i noticed that in librutil.a i can see the symbols for those
> functions defined for unsigned int, NOT long
>
> So, for some reasons my code when compiling and including resiprocate
> includes UInt32 seems to match unsigned long, but my IDE seems to point to
> unsigned int.
>
> Can anyone suggest me something?
>
_________________
> resiprocate-users mailing list
> resiprocate-users@resiprocate.org
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>