Subject: Re: Cleaning up old include
To: Louis-Philippe Lessard <yayay@mac.com>
From: Andrey Petrov <petrov@netbsd.org>
List: current-users
Date: 04/10/2002 18:36:35
src/UPDATING has a lot of helpful things. Most likely you need to update
your /usr/sbin/config. Also the build process is quite sensitive to share/mk.

	Andrey

On Wed, Apr 10, 2002 at 08:21:09PM -0400, Louis-Philippe Lessard wrote:
> Hi,
> 
> I get this error whenever I try to build a kernel from the latest source. I
> think it's a problem with old includes still in the include folder. Is there
> anyway to clean that up without reinstalling everything ?
> 
> making sure the 68040 FPSP is up to date...
> `fpsp.o' is up to date.
> cc  -m68040 -msoft-float -ffreestanding  -O2 -Werror -Wall -Wno-main -Wpoint
> er-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dmac6
> 8k -I.  -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DNE
> WPIPE -DLKM -DGRF_COMPAT -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT   -c
> //usr/src/sys/arch/mac68k/compile/QUAD/../../../../netinet/tcp_input.c
> In file included from
> //usr/src/sys/arch/mac68k/compile/QUAD/../../../../netinet/tcp_input.c:220:
> faith.h:2: warning: `NINET' redefined
> opt_inet.h:6: warning: this is the location of the previous definition
> faith.h:3: warning: `NINET6' redefined
> opt_inet.h:4: warning: this is the location of the previous definition
> *** Error code 1
> 
> Stop.
> make: stopped in //usr/src/sys/arch/mac68k/compile/QUAD
> 
> Thanks a lot
> 
>