Hey Guys,<br><br>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><br>CC (gcc) [M sipcapture.so] sipcapture.o<br>
In file included from sipcapture.c:76:<br>sipcapture.h:28: error: syntax error before "u_int8_t"<br>sipcapture.h:28: warning: no semicolon at end of struct or union<br>sipcapture.h:29: warning: type defaults to `int' in declaration of `hp_l'<br>
sipcapture.h:29: warning: data definition has no type or storage class<br>sipcapture.h:30: error: syntax error before "hp_f"<br>sipcapture.h:30: warning: type defaults to `int' in declaration of `hp_f'<br>
sipcapture.h:30: warning: data definition has no type or storage class<br>sipcapture.h:31: error: syntax error before "hp_p"<br>sipcapture.h:31: warning: type defaults to `int' in declaration of `hp_p'<br>
sipcapture.h:31: warning: data definition has no type or storage class<br>sipcapture.h:32: error: syntax error before "hp_sport"<br>sipcapture.h:32: warning: type defaults to `int' in declaration of `hp_sport'<br>
sipcapture.h:32: warning: data definition has no type or storage class<br>sipcapture.h:33: error: syntax error before "hp_dport"<br>sipcapture.h:33: warning: type defaults to `int' in declaration of `hp_dport'<br>
sipcapture.h:33: warning: data definition has no type or storage class<br>sipcapture.c: In function `mod_init':<br>sipcapture.c:469: error: `IPPROTO_IPIP' undeclared (first use in this function)<br>sipcapture.c:469: error: (Each undeclared identifier is reported only once<br>
sipcapture.c:469: error: for each function it appears in.)<br>sipcapture.c: In function `hep_msg_received':<br>sipcapture.c:638: error: invalid application of `sizeof' to incomplete type `hep_hdr' <br>sipcapture.c:648: error: dereferencing pointer to incomplete type<br>
sipcapture.c:658: error: dereferencing pointer to incomplete type<br>sipcapture.c:658: error: dereferencing pointer to incomplete type<br>sipcapture.c:658: error: dereferencing pointer to incomplete type<br>sipcapture.c:658: error: dereferencing pointer to incomplete type<br>
sipcapture.c:658: error: dereferencing pointer to incomplete type<br>sipcapture.c:663: error: dereferencing pointer to incomplete type<br>sipcapture.c:663: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:664: error: dereferencing pointer to incomplete type<br>
sipcapture.c:664: error: dereferencing pointer to incomplete type<br>sipcapture.c:670: error: dereferencing pointer to incomplete type<br>sipcapture.c:671: error: dereferencing pointer to incomplete type<br>sipcapture.c:672: error: dereferencing pointer to incomplete type<br>
sipcapture.c:677: error: dereferencing pointer to incomplete type<br>sipcapture.c:677: error: dereferencing pointer to incomplete type<br>sipcapture.c:677: error: dereferencing pointer to incomplete type<br>sipcapture.c:677: error: dereferencing pointer to incomplete type<br>
sipcapture.c:677: error: dereferencing pointer to incomplete type<br>sipcapture.c:681: error: invalid application of `sizeof' to incomplete type `hep_hdr' <br>sipcapture.c:688: error: dereferencing pointer to incomplete type<br>
sipcapture.c:712: error: dereferencing pointer to incomplete type<br>sipcapture.c:733: error: dereferencing pointer to incomplete type<br>sipcapture.c:736: error: dereferencing pointer to incomplete type<br>sipcapture.c: In function `raw_capture_socket':<br>
sipcapture.c:1333: error: `IPPROTO_IPIP' undeclared (first use in this function)<br>make[1]: *** [sipcapture.o] Error 1<br>make: *** [modules] Error 1<br><br><br>Cheers<br>Jason<br>