From owner-freebsd-questions@FreeBSD.ORG Tue May 17 05:22:38 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 25D7516A4CE for ; Tue, 17 May 2005 05:22:37 +0000 (GMT) Received: from mx1.fujixerox.co.jp (mx1.fujixerox.co.jp [192.26.96.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D91E343D5C for ; Tue, 17 May 2005 05:22:36 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw1.fujixerox.co.jp ([129.249.27.131]) by mx1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4H5MTM02320; Tue, 17 May 2005 14:22:30 +0900 (JST) Received: from ms1.fujixerox.co.jp (isvw1 [129.249.27.131]) by isvw1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4H5MRq25657; Tue, 17 May 2005 14:22:28 +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 j4H5MQa11640; Tue, 17 May 2005 14:22:26 +0900 (JST) Received: from 10.198.8.10 by sgpaphq-smtp01.fujixerox.com with ESMTP id 49879871116307318; Tue, 17 May 2005 13:21:58 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id 98E861D969; Tue, 17 May 2005 13:15:22 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 74B0E1D969; Tue, 17 May 2005 13:15:12 +0800 (SGT) From: Xu Qiang To: Dan Nelson , Xu Qiang Date: Tue, 17 May 2005 13:24: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: <20050517051512.74B0E1D969@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 05:22:38 -0000 Dan Nelson wrote: > 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 I downloaded mlrate-1.1.0.tar.gz and nngs-1.1.16.tar.gz, and did as the fol= lowing: = 1 tar xvzf mlrate-1.1.0.tar.gz 2 cd mlrate-1.1.0 3 ./configure 4 gmake (Should I do "gmake install" thereafter?) 5 tar xvzf nngs-1.1.16.tar.gz 6 cd nngs-1.1.16 7 ln -s ../mlrate-1.1.0 mlrate (Why this step?) 8 gmake But I met an error: = ################################################ gso_dev_2# gmake gmake all-recursive gmake[1]: Entering directory `/usr/games/nngs_sourceforge/nngs-1.1.16' Making all in nrat gmake[2]: Entering directory `/usr/games/nngs_sourceforge/nngs-1.1.16/nrat'= source=3D'command.c' object=3D'command.o' libtool=3Dno \ depfile=3D'.deps/command.Po' tmpdepfile=3D'.deps/command.TPo' \ depmode=3Dgcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../mlrate/src -g -O2 -Wall -= W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Ww= rite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declaration= s -Wp,-lang-c89 -c `test -f 'command.c' || echo './'`command.c 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' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/games/nngs_sourceforge/nngs-1.1.16' gmake: *** [all] Error 2 ################################################ Any help? thanks, = Regards, Xu Qiang