Subject: gcc *Initialization* compile error on kernel
To: None <current-users@NetBSD.ORG>
From: Gary Timuss <gtimuss@prozac.UVic.CA>
List: current-users
Date: 02/12/1996 23:27:23
Since Friday I've been trying to compile new kernels with gcc 2.4.5,
but even after cleaning out the directory and re-running "config", I
keep seeing:

/usr/src/sys/arch/i386/compile/PROZAC prozac# make depend
cc  -O2 -Werror -I. -I../../../../arch -I../../../.. -DI586_CPU -DDUMMY_NOPS -DXSERVER -DUCONSOLE -DMACHINE_NONCONTIG -DTIMEZONE="0x1e0" -DDST="1" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDIAGNOSTIC -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DUSER_LDT -DLKM -DFFS -DMFS -DMSDOSFS -DFIFO -DNULLFS -DPROCFS -DINET -D_KERNEL -Di386  -DMAXUSERS=24 -c ../../i386/genassym.c
../../i386/genassym.c:42: warning: `_KERNEL' redefined
*Initialization*:1: warning: this is the location of the previous definition
*** Error code 1

Stop.


This seems particularly suspicous because in all my years of programming,
I've never seen an "*Initialization*" error before.  Any theories about what
is going on here?