lkml.org 
[lkml]   [2003]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.046 / U:3.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site