From owner-freebsd-questions@FreeBSD.ORG Tue May 17 04:35:54 2005 Return-Path: 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 94EFB16A4CE for ; Tue, 17 May 2005 04:35:54 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26C6843D9A for ; Tue, 17 May 2005 04:35:54 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j4H4Zn7n005544; Mon, 16 May 2005 23:35:49 -0500 (CDT) (envelope-from dan) Date: Mon, 16 May 2005 23:35:49 -0500 From: Dan Nelson To: Xu Qiang Message-ID: <20050517043549.GB90284@dan.emsphone.com> References: <20050517041306.1888E1D92E@imss.sgp.fujixerox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050517041306.1888E1D92E@imss.sgp.fujixerox.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i cc: freebsd-questions@freebsd.org Subject: Re: The availability of socketbits.h? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 04:35:54 -0000 In the last episode (May 17), Xu Qiang said: > I am compiling NNGS (No Name Go Server) code in my FreeBSD 5.3 > machine. Yet, I came across the following error: > --------------------------------------------------------- > gcc -traditional-cpp -Wall -DFREEBSD -c network.c > network.c:23: socketbits.h: No such file or directory > gmake: *** [network.o] Error 1 > --------------------------------------------------------- > > I have searched for this file in my system, but can't find it. > > To have it present, which software must I install? That is a Linux internal header that programs should not be including directly. What version of nngs are you trying to compile? I downloaded nngs-1.1.16 from http://sourceforge.net/projects/nngs/ and line 23 of src/network.c is a blank line: 20 #ifdef HAVE_CONFIG_H 21 #include 22 #endif 23 24 #include 25 #include 26 #include -- Dan Nelson dnelson@allantgroup.com