Rusty (looks like you touched it last, does that make you the owner? :-)
et al,
I'm still receiving the following error message when compiling
for Sparc64, 2.6.0-pre10 (previously seen in -pre9)
I'm not sure if this is a dependancy error or not, since I'm still
trying to understand the build process for this portion.
It looks like scripts/kallsyms should run against .tmp_vmlinux1 to
generate symbols.S just before linking?
running kallsyms against a 2.4.22 kernel generates a file which
seems to include the correct information (that is being complained
against below)
thanks.
(Please continue to cc: me directly, as I'm not on LKML)
Leif
> $ make
> [...]
> AS arch/sparc64/lib/xor.o
> AR arch/sparc64/lib/lib.a
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> kernel/built-in.o(.text+0x25ebc): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x25ec0): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x25f3c): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_names'
> kernel/built-in.o(.text+0x25f40): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_num_syms'
> kernel/built-in.o(.text+0x25f44): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_names'
> kernel/built-in.o(.text+0x25f48): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_num_syms'
> kernel/built-in.o(.text+0x25f54): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x25f5c): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x25fe8): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_num_syms'
> kernel/built-in.o(.text+0x25ff8): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x26048): In function `kallsyms_lookup':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x26210): In function `get_ksymbol_mod':
> : undefined reference to `kallsyms_num_syms'
> kernel/built-in.o(.text+0x26220): In function `get_ksymbol_mod':
> : undefined reference to `kallsyms_num_syms'
> kernel/built-in.o(.text+0x26270): In function `get_ksymbol_core':
> : undefined reference to `kallsyms_names'
> kernel/built-in.o(.text+0x2627c): In function `get_ksymbol_core':
> : undefined reference to `kallsyms_names'
> kernel/built-in.o(.text+0x262c0): In function `get_ksymbol_core':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x262c8): In function `get_ksymbol_core':
> : undefined reference to `kallsyms_addresses'
> kernel/built-in.o(.text+0x26350): In function `update_iter':
> : undefined reference to `kallsyms_num_syms'
> kernel/built-in.o(.text+0x26354): In function `update_iter':
> : undefined reference to `kallsyms_num_syms'
> make: *** [.tmp_vmlinux1] Error 1
In message <[email protected]> you write:
> I'm still receiving the following error message when compiling
> for Sparc64, 2.6.0-pre10 (previously seen in -pre9)
Looks like your toolchain doesn't support weak symbols. There are
other ways of doing this, but weak symbols is the easiest.
This means no kallsyms for you, I'm afraid.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
On Tue, 25 Nov 2003 14:38:37 +1100
Rusty Russell <[email protected]> wrote:
> In message <[email protected]> you write:
> > I'm still receiving the following error message when compiling
> > for Sparc64, 2.6.0-pre10 (previously seen in -pre9)
>
> Looks like your toolchain doesn't support weak symbols. There are
> other ways of doing this, but weak symbols is the easiest.
>
> This means no kallsyms for you, I'm afraid.
You really need to be using recent tools to build 2.6.x kernels
on sparc64.