<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hallo Akan,<br>
<br>
oops, sorry :-(<br>
<br>
please add new typedef after u_int16_t;<br>
<br>
#ifdef __OS_solaris
<br>
typedef uint8_t u_int8_t;
<br>
typedef uint16_t u_int16_t;<br>
<b>typedef uint16_t u_int32_t;</b> <br>
#define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris IPIP protocol has name
ENCAP */
<br>
#endif
<br>
<br>
Wbr,<br>
Alexandr<br>
<br>
6/15/2012 9:11 PM, Akan wrote:
<blockquote cite="mid:4FDB88D7.7050807@akan.net" type="cite">I added
the define and recompiled. still got the same error. Here is the
change that I've made:
<br>
<br>
#define __OS_solaris 1 //* this is the line that i've added
<br>
<br>
#ifdef __OS_solaris
<br>
typedef uint8_t u_int8_t;
<br>
typedef uint16_t u_int16_t;
<br>
#define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris IPIP protocol has
name ENCAP */
<br>
#endif
<br>
<br>
<br>
Thanks
<br>
<br>
Nathaniel
<br>
<br>
<br>
On 6/15/2012 9:15 AM, Alexandr Dubovikov wrote:
<br>
<blockquote type="cite">Hi Akan,
<br>
<br>
looks like in your system has not defined __OS_solaris
<br>
<br>
open sipcapture.h and add this string on top:
<br>
<br>
#define __OS_solaris 1
<br>
<br>
and recompile modules again.
<br>
<br>
Wbr,
<br>
Alexandr
<br>
<br>
On 06/15/2012 06:53 AM, Akan wrote:
<br>
<blockquote type="cite">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.
<br>
<br>
CC (gcc) [M sipcapture.so] sipcapture.o
<br>
In file included from sipcapture.c:76:0:
<br>
sipcapture.h:48:4: error: unknown type name 'u_int32_t'
<br>
sipcapture.h:49:4: error: unknown type name 'u_int32_t'
<br>
gmake[1]: *** [sipcapture.o] Error 1
<br>
<br>
In file included from siptrace.c:54:0:
<br>
../../modules/sipcapture/sipcapture.h:48:4: error: unknown
type name 'u_int32_t'
<br>
../../modules/sipcapture/sipcapture.h:49:4: error: unknown
type name 'u_int32_t'
<br>
gmake[1]: *** [siptrace.o] Error 1
<br>
<br>
<br>
Thanks
<br>
<br>
Nathaniel
<br>
<br>
_______________________________________________
<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
</blockquote>
<br>
<br>
<br>
<br>
-----
<br>
No virus found in this message.
<br>
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
<br>
Version: 2012.0.2180 / Virus Database: 2433/5070 - Release Date:
06/14/12
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________
<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
</blockquote>
<br>
</body>
</html>