Subject: undefined reference to `nvramopen'
To: None <port-macppc@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: port-macppc
Date: 04/28/2002 11:30:10
Hi everyone.
I've checked out the sources from the NetBSD site (the syssrc directory
from /cvsroot) and the following messages come up when trying to compile
on a PowerBook 2400c/180.
ld -N -Ttext 0x100000 -e __start -S -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+0x6c0): undefined reference to `nvramioctl'
conf.o(.data+0x6d0): undefined reference to `nvrammmap'
*** Error code 1
I used "adjustkernel" (the perl script out there) to configure and then
just un-commented options INSECURE so I can test with XFree86.
Everything goes smoothly until the moment of truth where the above
messages appear.
What can I do to fix this? I'm pretty new to cvs and large projects but
would like to submit any changes, that make my machine work, so others
can use them. If there is any good documentation on this please let me
know where I can find it. Thanks,
Louis