From owner-freebsd-questions Fri Nov 8 18:42:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2386937B401 for ; Fri, 8 Nov 2002 18:42:21 -0800 (PST) Received: from forrie.ne.client2.attbi.com (forrie.ne.client2.attbi.com [24.147.156.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 922F643E6E for ; Fri, 8 Nov 2002 18:42:19 -0800 (PST) (envelope-from forrie@forrie.com) Received: from workstation.forrie.com (i-21.forrie.net. [192.168.1.21]) by forrie.ne.client2.attbi.com with id gA92gI819412 for ; Fri, 8 Nov 2002 21:42:18 -0500 (EST) Message-Id: <5.1.1.6.2.20021108214242.020c1898@192.168.1.1> X-Sender: forrie@192.168.1.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Fri, 08 Nov 2002 21:44:19 -0500 To: freebsd-questions@FreeBSD.ORG From: Forrest Aldrich Subject: hotwayd compile on FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-RAVMilter-Version: 8.3.0(snapshot 20010925) (forrie.ne.client2.attbi.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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