Subject: Re: Latest kernel won't compile on a G4 (but does on a 8600)
To: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
From: Bill Studenmund <wrstuden@zembu.com>
List: current-users
Date: 04/13/2001 17:07:20
On Fri, 13 Apr 2001, Xavier HUMBERT wrote:

> At the very final stage of the kernel build, I got this error, which
> seems obviously related to OpenFirmware:
> 
> >ld -N -Ttext 100000 -e __start -x -o netbsd ${SYSTEM_OBJ} vers.o
> >conf.o(.data+0x6b0): undefined reference to `nvramopen'
> >conf.o(.data+0x6b4): undefined reference to `nvramclose'
> >conf.o(.data+0x6b8): undefined reference to `nvramread'
> >conf.o(.data+0x6bc): undefined reference to `nvramwrite'
> >conf.o(.data+0x6d0): undefined reference to `nvrammmap'
> >*** Error code 1
> 
> Which library is missing ?

No library. I don't have the latest sources, but these routines
should be coming from nvram.c. Check to see that you have an nvram.o. Also
run "nm nvram.o" and see if these routines are there.

Take care,

Bill