Subject: Re: Cleaning up old include
To: Louis-Philippe Lessard <yayay@mac.com>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 04/10/2002 17:31:10
Maybe remove all of your opt_*.h files from your kernel build directory?

Or even better, just nuke the whole directory and start fresh.  :)


On Wed, 10 Apr 2002, 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
>
>
>

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | 9DC5 05CF 1AE7 DC42 CCC6 |  paul@whooppee.com   |
|  & World Cruiser | 6858 051E 7AD2 A6B2 4954 | pgoyette@juniper.net |
----------------------------------------------------------------------