From owner-freebsd-questions@FreeBSD.ORG Tue May 17 06:17:09 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 D3ECF16A4CE for ; Tue, 17 May 2005 06:17:09 +0000 (GMT) Received: from mx2.fujixerox.co.jp (mx2.fujixerox.co.jp [192.26.96.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5D4D43D67 for ; Tue, 17 May 2005 06:17:08 +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 j4H6H0m03472; Tue, 17 May 2005 15:17:00 +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 j4H6Gqs06088; Tue, 17 May 2005 15:16:52 +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 j4H6Gva17142; Tue, 17 May 2005 15:16:57 +0900 (JST) Received: from 10.198.8.10 by sgpaphq-smtp01.fujixerox.com with ESMTP id 49907411116310617; Tue, 17 May 2005 14:16:57 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id CC2E61D969; Tue, 17 May 2005 14:10:20 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id DE70D1D969; Tue, 17 May 2005 14:10:12 +0800 (SGT) From: Xu Qiang To: Dan Nelson , Xu Qiang Date: Tue, 17 May 2005 14:19:34 +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: <20050517061012.DE70D1D969@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 06:17:09 -0000 Xu Qiang wrote: > ################################################ > cc1: error: unrecognized command line option > "-lang-c89" = > gmake[2]: *** [command.o] Error 1 > gmake[2]: Leaving directory > `/usr/games/nngs_sourceforge/nngs-1.1.16/nrat' = > ################################################ Just found out this: = http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1201565&group_= id=3D59572&atid=3D491424: = -lang-c89 deprecated = quote from man gcc (3.3.5-20050130) Note: Previous versions of cpp accepted a -lang option which selected both the language and the standards conformance level. This option has been removed, because it conflicts with the -l option. just use -std=3Dc89 (not sure but seem to works) Then I did the modification in the file "./configure", and it can go on. = 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 he= re ../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. = Regards, Xu Qiang