From owner-freebsd-questions@FreeBSD.ORG Tue May 17 07:56: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 19E2316A4CE for ; Tue, 17 May 2005 07:56:54 +0000 (GMT) Received: from mx2.fujixerox.co.jp (mx2.fujixerox.co.jp [192.26.96.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2251643DCC for ; Tue, 17 May 2005 07:56:53 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw2.fujixerox.co.jp ([129.249.27.132]) by mx2.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4H7ujm24871; Tue, 17 May 2005 16:56:45 +0900 (JST) Received: from ms1.fujixerox.co.jp (isvw2 [129.249.27.132]) by isvw2.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4H7uds27873; Tue, 17 May 2005 16:56:39 +0900 (JST) Received: from sgpaphq-smtp01.fujixerox.com ([13.198.8.73]) by ms1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4H7uha00206; Tue, 17 May 2005 16:56:44 +0900 (JST) Received: from 10.198.8.10 by sgpaphq-smtp01.fujixerox.com with ESMTP id 49977741116316590; Tue, 17 May 2005 15:56:30 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id B146D1D969; Tue, 17 May 2005 15:49:52 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 208D31D969; Tue, 17 May 2005 15:49:51 +0800 (SGT) From: Xu Qiang To: Dan Nelson , Xu Qiang Date: Tue, 17 May 2005 15:59:12 +0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 60130 (9.0.2711) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20050517074951.208D31D969@imss.sgp.fujixerox.com> 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 07:56:54 -0000 Xu Qiang wrote: > Thanks for your suggestions. Yes, this error is overcome after > running "autoheader". But now another error of the same type appears: > ----------------------------------------------------- = > mink.c:22: error: conflicting types for 'random' > /usr/include/stdlib.h:200: error: previous declaration of 'random' > was here = > mink.c:22: error: conflicting types for 'random' > ----------------------------------------------------- > = > This file is in "nngs-1.1.16/src" directory, and when I run > autoheader in this directory: > ----------------------------------------------------- = > autoheader: `configure.ac' or `configure.in' is required > ----------------------------------------------------- Btw, I just found there is a line "#undef HAVE_RANDOM" in config.h.in, so i= s it due to the src file (mink.c) is not in the same directory as config.h.= in? (It is one level below: config.h.in is in nngs-1.1.16, while mink.c is = in nngs-1.1.16/src) Strange, = Looking forward to your help, = Regards, Xu Qiang