[SR-Users] Kamailio 3.2 compile error on Solaris 10
Nathaniel L Keeling
nkeeling at akan.net
Fri Oct 21 04:23:36 CEST 2011
I am trying to compile the new version of Kamailio, 3.2 on Solaris in a
64bit environment and I am getting this error. I have been searching the
internet but have not been able to find any solutions. Any help would be
appreciated.
CC (gcc) [M xmlrpc.so] xmlrpc.o
In file included from ../../parser/msg_parser.h:63:0,
from ../../sr_module.h:62,
from xmlrpc.c:41:
../../parser/../ip_addr.h:86:23: error: field 'sin6' has incomplete type
../../parser/../ip_addr.h: In function 'ip_addr_loopback':
../../parser/../ip_addr.h:283:3: warning: implicit declaration of
function 'htonl' [-Wimplicit-function-declaration]
../../parser/../ip_addr.h:286:3: warning: implicit declaration of
function 'IN6_IS_ADDR_LOOPBACK' [-Wimplicit-function-declaration]
../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
../../parser/../ip_addr.h:353:50: error: dereferencing pointer to
incomplete type
../../parser/../ip_addr.h: In function 'su_getport':
../../parser/../ip_addr.h:399:4: warning: implicit declaration of
function 'ntohs' [-Wimplicit-function-declaration]
../../parser/../ip_addr.h: In function 'su_setport':
../../parser/../ip_addr.h:418:4: warning: implicit declaration of
function 'htons' [-Wimplicit-function-declaration]
xmlrpc.c: In function 'rpc_scan':
xmlrpc.c:1454:6: warning: variable 'fmt_len' set but not used
[-Wunused-but-set-variable]
gmake[1]: *** [xmlrpc.o] Error 1
gmake: *** [modules] Error 1
Thanks
Nathaniel
More information about the sr-users
mailing list