On Sun, Jul 27, 2003 at 06:01:44PM -0700, Miles Lane wrote:
> LD .tmp_vmlinux1
> drivers/built-in.o(.init.text+0x5e64): In function `init_control':
> : undefined reference to `nvram_read_byte'
> drivers/built-in.o(.init.text+0x5e64): In function `init_control':
> : relocation truncated to fit: R_PPC_REL24 nvram_read_byte
> drivers/built-in.o(.init.text+0x5ef0): In function `init_control':
> : undefined reference to `nvram_read_byte'
> drivers/built-in.o(.init.text+0x5ef0): In function `init_control':
> : relocation truncated to fit: R_PPC_REL24 nvram_read_byte
> drivers/built-in.o(.init.text+0x67cc): In function `init_platinum':
> : undefined reference to `nvram_read_byte'
> drivers/built-in.o(.init.text+0x67cc): In function `init_platinum':
> : relocation truncated to fit: R_PPC_REL24 nvram_read_byte
> drivers/built-in.o(.init.text+0x67ec): In function `init_platinum':
> : undefined reference to `nvram_read_byte'
> drivers/built-in.o(.init.text+0x67ec): In function `init_platinum':
> : relocation truncated to fit: R_PPC_REL24 nvram_read_byte
> drivers/built-in.o(.init.text+0x7c08): In function `init_imstt':
> : undefined reference to `nvram_read_byte'
> drivers/built-in.o(.init.text+0x7c08): In function `init_imstt':
> : relocation truncated to fit: R_PPC_REL24 nvram_read_byte
> drivers/built-in.o(.init.text+0x7c24): more undefined references to
> `nvram_read_byte' follow
> drivers/built-in.o(.init.text+0x7c24): In function `init_imstt':
> : relocation truncated to fit: R_PPC_REL24 nvram_read_byte
The problem is that arch/ppc/platforms/pmac_nvram.c needs to be compiled
on CONFIG_PPC_PMAC, not on CONFIG_NVRAM (so edit
arch/ppc/platforms/Makefile).
-- Tom Rini http://gate.crashing.org/~trini/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:42 EST