So my guess now is that you don't have drivers/char/nvram.o, but have generic_nvram.o in stead... Pleas confirm this.
What kernel version are you on? I also have the function in arch/ppc/kernel/setup.c, along with an EXPORT_SYMBOL() for it. Do you have such code? Martin --------------------------------------------------------------------------- 30 years from now GNU/Linux will be as redundant a term as UNIX/MERT is today. - Martin Habets -------------------------------------------------------------------------- On Mon, Apr 12, 2004 at 03:59:23PM +0200, Maciej Jan Broniarz wrote: > On Mon, Apr 12, 2004 at 01:07:46PM +0100, Martin Habets wrote: > > > I did what you said - and heres what i get: > > drivers/built-in.o(.text+0x6b278): In function `platinum_init_fb': > : undefined reference to `nvram_read_byte' > drivers/built-in.o(.text+0x6b298): In function `platinum_init_fb': > : undefined reference to `nvram_read_byte' > drivers/built-in.o(.init.text+0x4f80): In function `init_control': > : undefined reference to `nvram_read_byte' > drivers/built-in.o(.init.text+0x5004): In function `init_control': > : undefined reference to `nvram_read_byte' > drivers/built-in.o(.init.text+0x5854): In function > `valkyrie_choose_mode': > : undefined reference to `nvram_read_byte' > drivers/built-in.o(.init.text+0x5874): more undefined references to > `nvram_read_byte' follow > make: *** [.tmp_vmlinux1] Error 1 > > Any idea what is wrong ? > > gausus >