From owner-freebsd-questions@FreeBSD.ORG Tue May 17 06:53:58 2005 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> 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 2389816A4CE for <freebsd-questions@freebsd.org>; Tue, 17 May 2005 06:53:58 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B54A243D98 for <freebsd-questions@freebsd.org>; Tue, 17 May 2005 06:53:57 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j4H6ru4k089291; Tue, 17 May 2005 01:53:56 -0500 (CDT) (envelope-from dan) Date: Tue, 17 May 2005 01:53:56 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Xu Qiang <Qiang.Xu@fujixerox.com> Message-ID: <20050517065356.GC90284@dan.emsphone.com> References: <20050517061012.DE70D1D969@imss.sgp.fujixerox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050517061012.DE70D1D969@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 <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 17 May 2005 06:53:58 -0000 In the last episode (May 17), Xu Qiang said: > Great that another pal has compiled this stuff. :) No, I'm just a good troubleshooter :) In the last episode (May 17), Xu Qiang said: > But another error appears: > > ################################################ > In file included from comproc.c:44: > ../missing.h:30: error: conflicting types for 'ftruncate' > /usr/include/stdio.h:367: error: previous declaration of 'ftruncate' was here > ../missing.h:30: error: conflicting types for 'ftruncate' > ################################################ > It is strange that while 1.1.16 version has this problem, 1.1.14 doesn't. It looks like missing.h was added in 1.1.15, but the author didn't run all the necessary autoconf commands afterwards. Try running "autoheader253" (you will see that a HAVE_FTRUNCATE placeholder gets added to config.h.in), and rerun configure and make. It looks like there have been some autoconf changes make in CVS after 1.1.16 was released. You might want to check out the current source to see if some of these issues have been fixed already. -- Dan Nelson dnelson@allantgroup.com