Subject: Re: build of 1.3 failed
To: Rick Kelly <rmk@rmkhome.rmkhome.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 12/05/1997 08:07:01
On Fri, 5 Dec 1997 08:06:23 -0500 (EST)
Rick Kelly <rmk@rmkhome.rmkhome.com> wrote:
This is becoming a FAQ :-)
cd usr.bin/xlint; make install
then proceed as normal.
>
> I did a sup yesterday and attempted a build last night. It failed
> with:
>
> cc -o xlint xlint.o mem.o
> xlint.o: warning: mktemp() possibly used unsafely, consider using mkstemp()
> nroff -mandoc lint.1 > lint.cat1
> all ===> usr.bin/xlint/llib
> lint -Cposix llib-lposix
> llib-lposix:
> stat.h(226): syntax error
> stat.h(227): syntax error
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> If the offending file is /usr/include/sys/stat.h then the two
> offending lines are:
>
> int stat __P((const char *, struct stat *)) __RENAME(__stat13);
> int fstat __P((int, struct stat *)) __RENAME(__fstat13);
>
> --
> Rick Kelly rmk@rmkhome.com rmk@tencats.rmkhome.com
> http://tencats.rmkhome.com
> http://warthog.rmkhome.com
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939