Date: Fri, 08 Nov 2002 21:44:19 -0500 From: Forrest Aldrich <forrie@forrie.com> To: freebsd-questions@FreeBSD.ORG Subject: hotwayd compile on FreeBSD Message-ID: <5.1.1.6.2.20021108214242.020c1898@192.168.1.1>
next in thread | raw e-mail | index | archive | help
I'm trying to compile hotwayd (an HTTPmail program) on FreeBSD-4.7; getting this error, but it looks like a header requirement for the code. Anyone fix this? Line 39 reads: struct sockaddr_in sock; # gmake gcc -DHAVE_LIBXML2=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETHOSTNAME=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -I/usr/include `xml2-config --cflags` -g -O2 -c inet.c In file included from inet.c:27: /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 inet.c: In function `inet_init': inet.c:39: storage size of `sock' isn't known inet.c:49: type of formal parameter 1 is incomplete inet.c:68: type of formal parameter 1 is incomplete gmake: *** [inet.o] Error 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20021108214242.020c1898>