Date: Tue, 17 May 2005 14:19: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: <20050517061012.DE70D1D969@imss.sgp.fujixerox.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050517061012.DE70D1D969>