Date: Tue, 17 May 2005 13:24:34 +0800 From: Xu Qiang <Qiang.Xu@fujixerox.com> To: Dan Nelson <dnelson@allantgroup.com>, Xu Qiang <Qiang.Xu@fujixerox.com> Cc: freebsd-questions@freebsd.org Subject: RE: The availability of socketbits.h? Message-ID: <20050517051512.74B0E1D969@imss.sgp.fujixerox.com>
next in thread | raw e-mail | index | archive | help
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 <config.h> > 22 #endif > 23 > 24 #include <stdio.h> > 25 #include <stdlib.h> > 26 #include <assert.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050517051512.74B0E1D969>