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 following: 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='command.c' object='command.o' libtool=no \ depfile='.deps/command.Po' tmpdepfile='.deps/command.TPo' \ depmode=gcc3 /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 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
