<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jason,<div><br></div><div>perfect. I will make a patch ASAP.</div><div><br></div><div>Thank you for the report and testing :-)</div><div><br></div><div>Wbr,</div><div>Alexandr</div><div><br></div><div><br><div><div>14.10.2011, в 10:56, Jason Penton написал(а):</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Alex, <br><br>yes that works perfectly! ;)<br><br>Cheers<br>Jason<br><br><div class="gmail_quote">2011/10/14 Alexandr Dubovikov <span dir="ltr">&lt;<a href="mailto:alexandr.dubovikov@gmail.com">alexandr.dubovikov@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi Jason,<div><br></div><div>Can you check it with typedef ? I want to leave structure as is ….</div>
<div><i><br></i></div><div><span style="background-color:rgb(245, 245, 255)">#ifdef __OS_solaris<br>typedef uint8_t u_int8_t;<br>typedef uint16_t u_int16_t;<br><i>t</i>ypedef uint32_t u_int32_t;<br></span><span style="background-color:rgb(245, 245, 255)">typedef uint64_t u_int64_t;</span></div>
<div><span style="background-color:rgb(245, 245, 255)">#define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris fix */</span></div><div><span style="background-color:rgb(245, 245, 255)">#endif<br></span></div><div><br></div><div>Wbr,</div>
<div>Alexandr</div><div><br><div><div>14.10.2011, в 10:33, Jason Penton написал(а):</div><div><div></div><div class="h5"><br><blockquote type="cite">Yes, Alexandr - I changed the uints already. IPPROTO works! Maybe you can stick a define in for Solaris ;)<br>
<br>Cheers<br>Jason<br><br><div class="gmail_quote">2011/10/14 Alexandr Dubovikov <span dir="ltr">&lt;<a href="mailto:alexandr.dubovikov@gmail.com" target="_blank">alexandr.dubovikov@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">Hi Jason,<br>

<br>
ok, Solaris has uint type, not u_int, and IPPROTO_IPIP can be fixed in this way:<br>
<br>
#ifndef IPPROTO_IPIP<br>
#define IPIPPROTO_IPIP 4<br>
#endif<br>
<br>
Can you check it please, i don't have any Solaris here….<br>
<div><br>
<br>
Wbr,<br>
Alexandr<br>
<br>
14.10.2011, в 08:01, Jason Penton написал(а):<br>
<br>
</div><div><div></div><div>&gt; Hey Guys,<br>
&gt;<br>
&gt; sipcapture is failing to build on Solaris. I am just dumping the trace here as I don't have time to look at it now. I will however take a look when I get a chance.<br>
&gt;<br>
&gt; CC (gcc) [M sipcapture.so] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sipcapture.o<br>
&gt; In file included from sipcapture.c:76:<br>
&gt; sipcapture.h:28: error: syntax error before "u_int8_t"<br>
&gt; sipcapture.h:28: warning: no semicolon at end of struct or union<br>
&gt; sipcapture.h:29: warning: type defaults to `int' in declaration of `hp_l'<br>
&gt; sipcapture.h:29: warning: data definition has no type or storage class<br>
&gt; sipcapture.h:30: error: syntax error before "hp_f"<br>
&gt; sipcapture.h:30: warning: type defaults to `int' in declaration of `hp_f'<br>
&gt; sipcapture.h:30: warning: data definition has no type or storage class<br>
&gt; sipcapture.h:31: error: syntax error before "hp_p"<br>
&gt; sipcapture.h:31: warning: type defaults to `int' in declaration of `hp_p'<br>
&gt; sipcapture.h:31: warning: data definition has no type or storage class<br>
&gt; sipcapture.h:32: error: syntax error before "hp_sport"<br>
&gt; sipcapture.h:32: warning: type defaults to `int' in declaration of `hp_sport'<br>
&gt; sipcapture.h:32: warning: data definition has no type or storage class<br>
&gt; sipcapture.h:33: error: syntax error before "hp_dport"<br>
&gt; sipcapture.h:33: warning: type defaults to `int' in declaration of `hp_dport'<br>
&gt; sipcapture.h:33: warning: data definition has no type or storage class<br>
&gt; sipcapture.c: In function `mod_init':<br>
&gt; sipcapture.c:469: error: `IPPROTO_IPIP' undeclared (first use in this function)<br>
&gt; sipcapture.c:469: error: (Each undeclared identifier is reported only once<br>
&gt; sipcapture.c:469: error: for each function it appears in.)<br>
&gt; sipcapture.c: In function `hep_msg_received':<br>
&gt; sipcapture.c:638: error: invalid application of `sizeof' to incomplete type `hep_hdr'<br>
&gt; sipcapture.c:648: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:658: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:658: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:658: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:658: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:658: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:663: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:663: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:670: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:671: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:672: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:677: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:677: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:677: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:677: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:677: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:681: error: invalid application of `sizeof' to incomplete type `hep_hdr'<br>
&gt; sipcapture.c:688: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:712: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:733: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c:736: error: dereferencing pointer to incomplete type<br>
&gt; sipcapture.c: In function `raw_capture_socket':<br>
&gt; sipcapture.c:1333: error: `IPPROTO_IPIP' undeclared (first use in this function)<br>
&gt; make[1]: *** [sipcapture.o] Error 1<br>
&gt; make: *** [modules] Error 1<br>
&gt;<br>
&gt;<br>
&gt; Cheers<br>
&gt; Jason<br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; sr-dev mailing list<br>
&gt; <a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
&gt; <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</div></div></blockquote></div><br>
_______________________________________________<br>sr-dev mailing list<br><a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br>
_______________________________________________<br>sr-dev mailing list<br><a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev<br></blockquote></div><br></div></body></html>