Hi All,<br><br>I'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 'sin6' has incomplete type<br>
../../ip_addr.h: In function 'ip_addr_loopback':<br>../../ip_addr.h:281:3: warning: implicit declaration of function 'htonl'<br>../../ip_addr.h:284:3: warning: implicit declaration of function 'IN6_IS_ADDR_LOOPBACK'<br>
../../ip_addr.h: In function 'sockaddr2ip_addr':<br>../../ip_addr.h:351:50: error: dereferencing pointer to incomplete type<br>../../ip_addr.h: In function 'su_getport':<br>../../ip_addr.h:397:4: warning: implicit declaration of function 'ntohs'<br>
../../ip_addr.h: In function 'su_setport':<br>../../ip_addr.h:416:4: warning: implicit declaration of function 'htons'<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'm missing something really silly? any ideas?<br><br><br>