[sr-dev] siptrace and sipcapture broken on non-linux

Alexandr Dubovikov alexandr.dubovikov at gmail.com
Fri Sep 30 13:20:08 CEST 2011


Hello Daniel,


ok, i have one Mac OS here, will test it ASAP.

Wbr,
Alexandr


30.09.2011, в 13:15, Daniel-Constantin Mierla написал(а):

> Hello,
> 
> your latest changes seems to have introduced a dependency on linux for siptrace and sipcapture modules (I see in sipcapture.h a comment that code was copied from linux kernel). Here is the errors output:
> 
> CC (gcc) [M siptrace.so] siptrace.o
> In file included from siptrace.c:53:
> ../../modules/sipcapture/sipcapture.h:54: error: expected specifier-qualifier-list before ‘__u16’
> ../../modules/sipcapture/sipcapture.h:63: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
> ../../modules/sipcapture/sipcapture.h:72: warning: excess elements in struct initializer
> 
> This is not good at least for siptrace module. It has to be disabled in a way or another so that siptrace can be used on the other unix distro. I tested on mac os x so far, maybe you can come up with a fix for it.
> 
> Thanks,
> Daniel
> 
> -- 
> Daniel-Constantin Mierla -- http://www.asipto.com
> Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
> http://linkedin.com/in/miconda -- http://twitter.com/miconda
> 
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev




More information about the sr-dev mailing list