Subject: port-macppc/7850: patch to INSTALL kernel to build
To: None <>
From: SUNAGAWA Keiki <>
List: netbsd-bugs
Date: 06/24/1999 09:35:56
>Number:         7850
>Category:       port-macppc
>Synopsis:       INSTALL kernel fails to compile
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer (NetBSD/macppc Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 24 09:35:00 1999
>Originator:     SUNAGAWA Keiki
	my home
>Release:        1999-06-25
System: NetBSD azarin 1.4C NetBSD 1.4C (GENERIC) #4: Mon Jun 14 01:35:24 JST 1999 kei@azarin:/var/src/sys/arch/macppc/compile/GENERIC macppc

	INSTALL kernel fails to compile when link.
	config INSTALL and cd to ../compile/INSTALL then make.
	you'll get the following.

making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.a' is up to date.
sh ../../../../conf/
cc  -O2 -pipe -Werror -Wreturn-type -Wpointer-arith -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DNMBCLUSTERS="0x400" -DMAXUSERS=32 -D_KERNEL -Dmacppc  -c vers.c
rm -f netbsd
ld -N -Ttext 100000 -e __start -x -o netbsd ${SYSTEM_OBJ} vers.o
ams.o: In function `amsattach':
ams.o(.text+0x25e): undefined reference to `wsmousedevprint'
ams.o(.text+0x266): undefined reference to `wsmousedevprint'
ams.o: In function `ms_processevent':
ams.o(.text+0xa34): undefined reference to `wsmouse_input'
*** Error code 1


	apply the patch below to INSTALL.

RCS file: /cvsroot/syssrc/sys/arch/macppc/conf/INSTALL,v
retrieving revision 1.11
diff -u -r1.11 INSTALL
--- INSTALL	1999/04/01 16:11:45	1.11
+++ INSTALL	1999/06/24 16:25:13
@@ -74,6 +74,7 @@
 wsdisplay0 at ofb? console ?
 wskbd0	at akbd? console ?
+wsmouse0 at ams?
 scsibus* at adv?
 scsibus* at ahc?