[Asterisk-bsd] utils.c will not compile

Olle E. Johansson asterisk-bsd@lists.digium.com
Tue, 29 Jun 2004 20:10:08 +0200


Anyone else having problems compiling util.c with the new ntoa function?
Using latest CVS, it compiles on Linux, but not on FreeBSD

In file included from utils.c:19:
include/asterisk/utils.h:35: warning: `inet_ntoa' redefined
/usr/include/arpa/inet.h:78: warning: this is the location of the previous definition
In file included from utils.c:12:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type
In file included from utils.c:19:
include/asterisk/utils.h:32: warning: parameter has incomplete type
utils.c:332: parameter `ia' has incomplete type
gmake: *** [utils.o] Error 1

/Olle