Subject: Re: kernel build problems
To: None <current-users@NetBSD.ORG>
From: None <is@Beverly.Rhein.DE>
List: current-users
Date: 02/23/1996 04:55:50
Michael L. VanLoon -- HeadCandy.com (michaelv@HeadCandy.com) wrote:
: 
: I have been running just fine on a kernel and world built with a sup
: from the evening of 1/27/96.  I just supped again this afternoon, and
: my kernel make depend fails with these errors:
: 
: mkdep -x assembler-with-cpp -D_LOCORE -I. -I../../../../arch -I../../../.. -DI486_CPU -DI586_CPU -DMINDBENDER -DTIMEZONE="0x1e0" -DDST="1" -DMACHINE_NONCONTIG -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSWAPPAGER -DVNODEPAGER -D
DEVPAGER -DKTRACE -DFIFO -DFFS -DFDESC -DKERNFS -DPROCFS -DPORTAL -DMSDOSFS -DUMAPFS -DUNION -DQUOTA -DMFS -DNULLFS -DCD9660 -DINET -DNFSCLIENT -DNFSSERVER -DGATEWAY -DNS -DXSERVER -DUCONSOLE -DLKM -DCOMPAT_FREEBSD -DCOMPAT_IBCS2 -DCOMPAT_SVR4 -DCOMPAT_LI
NUX -DCOM_ESP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DDDB -DPCVT_NSCREENS="9" -DPCVT_PRETTYSCRNS -DPCVT_INHIBIT_NUMLOCK="0" -D_KERNEL -Di386 ../../i386/locore.s
: .../../i386/locore.s:148: unterminated character constant
: .../../i386/locore.s:453: unterminated character constant
: .../../i386/locore.s:1547: unterminated character constant
: .../../i386/locore.s:1576: unterminated character constant
: .../../i386/locore.s:1578: unterminated character constant
etc.

The unterminated character constants com from the use of perfectly legal
(to as) ' signs in perfectly legal as comments, which aren't cpp
comments und thus are seen by cpp. which complains.

I fixed a bunch of these when switching compilers by changing the
wording, e.g instead of

| this isn't nice anymore

I wrote

| this is not nice anymore

Does anybody know if something got missed in the gcc upgrade?

Regards,
	Ignatios Souvatzis