Subject: port-mac68k/7895: kernel build fails, netbsd-mac68k-1.4-release
To: None <>
From: Frederick Bruckman <>
List: netbsd-bugs
Date: 07/02/1999 12:22:53
>Number:         7895
>Category:       port-mac68k
>Synopsis:       kernel build fails, netbsd-mac68k-1.4-release
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    port-mac68k-maintainer (NetBSD/mac68k Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul  2 12:20:01 1999
>Originator:     Frederick Bruckman

>Release:        NetBSD-release, 07/02/1999 sup
System: NetBSD corwin.home 1.4 NetBSD 1.4 (CORWIN) #11:
Wed Jun 9 12:36:02 CDT 1999 root@:
/usr/src/sys/arch/mac68k/compile/CORWIN mac68k

kernel make fails as follows:

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DSETUIDSCRIPTS -DM68040 -DFPSP -DLKM -DDIAGNOSTIC -DMAXUSERS=16 -D_KERNEL -Dmac68k  -c ../../../../arch/mac68k/mac68k/machdep.c
../../../../arch/mac68k/mac68k/machdep.c: In function `setmachdep':
../../../../arch/mac68k/mac68k/machdep.c:2210: `base' undeclared (first use in this function)
../../../../arch/mac68k/mac68k/machdep.c:2210: (Each undeclared identifier is reported only once
../../../../arch/mac68k/mac68k/machdep.c:2210: for each function it appears in.)
../../../../arch/mac68k/mac68k/machdep.c:2216: `sccA' undeclared (first use in this function)
../../../../arch/mac68k/mac68k/machdep.c: In function `mac68k_set_io_offsets':
../../../../arch/mac68k/mac68k/machdep.c:2313: `sccA' used prior to declaration
*** Error code 1

	sup; config; make build
	machdep.c v1.227.2.2 looks to be completely bogus, as if
	an already applied patch was reapplied with fuzz. With the
	machdep.c in the 1.4 release (v1.227.2.1) the kernel at 
	least builds, but still does not boot. (Hangs after
	"On-board video at...", numbers all the same as good kernel.)