On Thursday 07 July 2011, Omar wrote:
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.
Hi Omar,
Jason Penton mentioned on the sr-dev list a similar issue yesterday, he says
that this fixes the problem for him:
removing the following macro from my_cmd.c fixes the
issue:
define _XOPEN_SOURCE 4 /* BSD */
Maybe you could try this as well.
Best regards,
Henning