Hi All,<br><br>I&#39;ve seen someone else had a similar problem but there were no responses. On Solaris, compiling db_mysql results in the following:<br><br>CC (gcc) [M db_mysql.so]                my_cmd.o<br>In file included from ../../globals.h:37:0,<br>
                 from ../../pt.h:42,<br>                 from ../../counters.h:43,<br>                 from mysql_mod.h:39,<br>                 from my_cmd.c:40:<br>../../ip_addr.h:85:23: error: field &#39;sin6&#39; has incomplete type<br>
../../ip_addr.h: In function &#39;ip_addr_loopback&#39;:<br>../../ip_addr.h:281:3: warning: implicit declaration of function &#39;htonl&#39;<br>../../ip_addr.h:284:3: warning: implicit declaration of function &#39;IN6_IS_ADDR_LOOPBACK&#39;<br>
../../ip_addr.h: In function &#39;sockaddr2ip_addr&#39;:<br>../../ip_addr.h:351:50: error: dereferencing pointer to incomplete type<br>../../ip_addr.h: In function &#39;su_getport&#39;:<br>../../ip_addr.h:397:4: warning: implicit declaration of function &#39;ntohs&#39;<br>
../../ip_addr.h: In function &#39;su_setport&#39;:<br>../../ip_addr.h:416:4: warning: implicit declaration of function &#39;htons&#39;<br><br><br>whats puzzling me is that ip_addr.h is included in other modules which compile perfectly, however in db_mysql, not<br>
<br>feel like I&#39;m missing something really silly? any ideas?<br><br><br>