Subject: port-macppc/7850: patch to INSTALL kernel to build
To: None <gnats-bugs@gnats.netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
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
>Last-Modified:
>Originator:     SUNAGAWA Keiki
>Organization:
	my home
>Release:        1999-06-25
>Environment:
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


>Description:
	INSTALL kernel fails to compile when link.
>How-To-Repeat:
	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/newvers.sh
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

Stop.

>Fix:
	apply the patch below to INSTALL.

Index: 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?
>Audit-Trail:
>Unformatted: