Subject: Re: 1.5.3 kernel will not compile without SUN4
To: None <jon@bullers.net>
From: Havard Eidnes <he@netbsd.org>
List: port-sparc
Date: 03/20/2002 23:30:24
> 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.
Seeing pk's confirmation, this is now done. CHANGES-1.5.3 entry:
sys/arch/sparc/sparc/promlib.c 1.10
Wrap SUN4-only code by the proper ifdef.
Regards,
- H=E5vard