[SR-Users] Sipcapture and Siptrace Compile Error

Akan forums at akan.net
Fri Jun 15 21:11:19 CEST 2012


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 has name 
ENCAP */
#endif


Thanks

Nathaniel


On 6/15/2012 9:15 AM, Alexandr Dubovikov wrote:
> 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 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_t'
>> sipcapture.h:49:4: error: unknown type name 'u_int32_t'
>> gmake[1]: *** [sipcapture.o] Error 1
>>
>> In file included from siptrace.c:54:0:
>> ../../modules/sipcapture/sipcapture.h:48:4: error: unknown type name 
>> 'u_int32_t'
>> ../../modules/sipcapture/sipcapture.h:49:4: error: unknown type name 
>> 'u_int32_t'
>> gmake[1]: *** [siptrace.o] Error 1
>>
>>
>> Thanks
>>
>> Nathaniel
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2180 / Virus Database: 2433/5070 - Release Date: 06/14/12
>
>





More information about the sr-users mailing list