generating autover.h ... CC (/opt/SUNWgccfss/gcc/bin/gcc -m64) [kamailio] nonsip_hooks.o In file included from /usr/include/netinet/in.h:27, from /usr/include/sys/socket.h:45, from parser/../ip_addr.h:45, from parser/msg_parser.h:63, from nonsip_hooks.h:42, from nonsip_hooks.c:45: /usr/include/resolv.h:222: error: array type has incomplete element type /usr/include/resolv.h:236: error: field 'addr' has incomplete type /usr/include/resolv.h:260: error: field 'sin' has incomplete type make: *** [nonsip_hooks.o] Error 1
this is what i got if i try that.
Omar
On Jul 4, 2011, at 5:15 AM, Henning Westerholt wrote:
On Monday 27 June 2011, Omar wrote:
added, and got same error:
bash-3.00# grep sin6 /usr/include/* /usr/include/resolv.h: struct sockaddr_in6 sin6;
Hi Omar,
ok, have you already tried to include the resolv.h file (instead or additionally to the in.h) to the db_mysql source file?
Best regards,
Henning