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

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 30 13:15:55 CEST 2011


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




More information about the sr-dev mailing list