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