Subject: 1.5.3 kernel will not compile without SUN4
To: None <port-sparc@netbsd.org, releng-1-5@netbsd.org>
From: Jon Buller <jon@bullers.net>
List: port-sparc
Date: 03/15/2002 22:01:41
Sorry to cross post this to both port-sparc@ and releng-1-5@, but
due to the release schedule, time is short.

I believe that sys/arch/sparc/sparc/promlib 1.9->1.10 needs to be
pulled up to the 1.5 branch, as I've been trying to compile a LX
only kernel and have kept getting this:

     ld -Ttext F0004000 -e start -n -X -o netbsd ${SYSTEM_OBJ} vers.o
     promlib.o: In function `prom_init_oldmon':
     promlib.o(.text+0x1558): undefined reference to `oldmon_w_cmd'
     promlib.o(.text+0x155c): undefined reference to `oldmon_w_cmd'
     *** Error code 1

     Stop.

The solution was the stated pull up, deleteing promlib.o in my kernel
directory, and watching make rebuild promlib.o and sucessfully link
the whole thing together.

port-sparc people: Is this the right solution?  Am I missing anything?
releng people: This is a head's up until I get an answer and formally
     make a pullup request, or get told forget it.  Just thought you
     might want to know.

Jon