Subject: Re: previous declaration of `catclose'
To: Scott J. Ellentuch <tuc@valhalla.stormking.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sun3
Date: 05/20/1995 23:51:18
On Sat, 20 May 1995 23:35:09 -0400 (EDT) 
 "Scott J. Ellentuch" <tuc@valhalla.stormking.com> wrote:

 > Hi all,
 > 
 > 	Well, I'm trying to compile the Sun 3 kernel from scratch (Thats
 > a story in and of itself) and I've run into a little problem :

Well, aside from this being the C library (as opposed to the kernel :-), 
I'd say offhand that your include files are out of date.  Typically, when 
I rebuild a system after updating my source, I:

/usr/src# (cd share/mk; make install)
/usr/src# (cd include; make install)
/usr/src# (cd lib; make depend; make; make install)
/usr/src# make depend; make; make install)

Note that I also remove the `include' and `lib' entries from the 
top-level makefile, since I do those by hand...

 > cc -O -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT  -c /src/lib/libc/nls/catclose.c
 > /src/lib/libc/nls/catclose.c:20: conflicting types for `catclose'

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffet Field, CA 94035                                 Pager: 415.428.6939