[SR-Users] Sipcapture and Siptrace Compile Error

2012-06-14 Thread Akan
When compiling kamailio v3.3, I am getting this error from sipcapture and siptrace. I am compiling on solaris 10, 64bit Sun server with gnu tools. CC (gcc) [M sipcapture.so] sipcapture.o In file included from sipcapture.c:76:0: sipcapture.h:48:4: error: unknown type name 'u_int32_

Re: [SR-Users] Sipcapture and Siptrace Compile Error

2012-06-15 Thread Akan
I added the define and recompiled. still got the same error. Here is the change that I've made: #define __OS_solaris 1 //* this is the line that i've added #ifdef __OS_solaris typedef uint8_t u_int8_t; typedef uint16_t u_int16_t; #define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris IPIP protocol

Re: [SR-Users] Sipcapture and Siptrace Compile Error

2012-06-17 Thread Alexandr Dubovikov
Hi Akan, looks like in your system has not defined __OS_solaris open sipcapture.h and add this string on top: #define __OS_solaris 1 and recompile modules again. Wbr, Alexandr On 06/15/2012 06:53 AM, Akan wrote: When compiling kamailio v3.3, I am getting this error from sipcapture and siptr

Re: [SR-Users] Sipcapture and Siptrace Compile Error

2012-06-17 Thread Alexandr Dubovikov
Hallo Akan, oops, sorry :-( please add new typedef after u_int16_t; #ifdef __OS_solaris typedef uint8_t u_int8_t; typedef uint16_t u_int16_t; *typedef uint16_t u_int32_t;* #define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris IPIP protocol has name ENCAP */ #endif Wbr, Alexandr 6/15/2012 9:11 PM,

Re: [SR-Users] Sipcapture and Siptrace Compile Error

2012-06-18 Thread Akan
Alexandr, that did it! Thanks Nathaniel On 6/15/2012 4:46 PM, Alexandr Dubovikov wrote: Hallo Akan, oops, sorry :-( please add new typedef after u_int16_t; #ifdef __OS_solaris typedef uint8_t u_int8_t; typedef uint16_t u_int16_t; *typedef uint16_t u_int32_t;* #define IPPROTO_IPIP IPPROTO_