The availability of socketbits.h?

Xu Qiang Qiang.Xu at fujixerox.com
Mon May 16 23:17:09 PDT 2005


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=detail&aid=1201565&group_id=59572&atid=491424: 

-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=c89 (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 here
../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




More information about the freebsd-questions mailing list