[sr-dev] SIPit 30 summary

Olle E. Johansson oej at edvina.net
Sun Feb 24 10:46:25 CET 2013


23 feb 2013 kl. 17:58 skrev Joel Vandal <joel at scopserv.com>:

> Hi Marius,
> 
> Thanks ! Sorry for wrong thread subject, do a reply and miss to change subject.
You should not do a reply at all, as that breaks the flow for people who use threaded mail readers. You need to post a new message to the list :-)

Cheers,
/O

> 
> -- 
> Joel Vandal
> 
>> Hello Joel, 
>> 
>> Fixed in commit 402e44. 
>> 
>> Marius
>> 
>> 
>> On Sat, Feb 23, 2013 at 2:38 PM, Marius Zbihlei <mariuszbi at gmail.com> wrote:
>> Hello Joel, 
>> 
>> First, this should be in a new thread. 
>> 
>> Strnstr() is a BSD only exception so I presume you are buiding on Linux agains Glibc. Because the scarcity of the implementation I will add a own implementation based on the BSD one.
>> Will commit soon.
>> Marius
>> 
>> 
>> On Fri, Feb 22, 2013 at 8:41 PM, Joel Vandal <joel at scopserv.com> wrote:
>> Hi all,
>> 
>> Issue on recent Kamailio 4.0 GIT
>> 
>> On a recent changes, you add this on modules/tm/t_msgbuilder.c
>> 
>> +       if(headers==NULL || headers->len<15
>> +                       || strnstr(headers->s, "Max-Forwards:", headers->len)==NULL)
>> +               memapp(w, MAXFWD_HEADER, MAXFWD_HEADER_LEN);      /* Max-forwards */
>> +
>> 
>> This cause the following error on build :
>> 
>> CC (gcc) [M tm.so]              t_msgbuilder.o
>> t_msgbuilder.c: In function 'build_uac_req':
>> t_msgbuilder.c:1545: warning: implicit declaration of function 'strnstr'
>> t_msgbuilder.c:1545: warning: comparison between pointer and integer
>> 
>> And Kamailio refuse to load the tm.so module
>> 
>> ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/lib64/kamailio/modules/tm.so>: /usr/lib64/kamailio/modules/tm.so: undefined symbol: strnstr
>> 
>> -- 
>> Joel Vandal, CTO
>> ScopServ International Inc.
>> http://www.scopserv.com/
>> 
>> 
>> 
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>> 
>> 
>> 
>> 
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130224/703714ee/attachment.htm>


More information about the sr-dev mailing list