Subject: Re: gcc *Initialization* compile error on kernel
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: current-users
Date: 02/14/1996 18:25:01
> /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
> This seems particularly suspicous because in all my years of
> programming, I've never seen an "*Initialization*" error before.
That is what gcc prints in a case like this, where the "location of the
previous definition" is the command line (as it is in this case) or
some similar source that occurs during setup rather than in a file.
Notice that the *Initialization* string appears in the place where
you'd normally see a file name.
der Mouse
mouse@collatz.mcrcim.mcgill.edu