Messages in this thread | | | Date | Tue, 29 Jul 2003 12:04:11 -0700 | From | Tom Rini <> | Subject | Re: 2.6.0-test2 (Linus tree ppc32 build) -- drivers/built-in.o(.init.text+0x5e64): In function `init_control': undefined reference to `nvram_read_byte' |
| |
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/
| |