mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.6.19-rc1 fix compilation/linking error in arch/x86_64_kernel/traps.c
@ 2006-10-07 21:05 Marcel Siegert
  2006-10-08  1:43 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Siegert @ 2006-10-07 21:05 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux-Kernel

hi linus,

the following compilation error:

CC      arch/x86_64/kernel/traps.o
arch/x86_64/kernel/traps.c: In function 'print_trace_warning_symbol':
arch/x86_64/kernel/traps.c:375: warning: implicit declaration of function 'print_symbol'

causing the following linking error
arch/x86_64/kernel/built-in.o: In function `print_trace_warning_symbol':
traps.c:(.text+0x2f85): undefined reference to `print_symbol'
make: *** [vmlinux] Error 1

is being fixed with the following patch.



Description: fix missing include of kallsyms.h in arch/x86_64/kernel/traps.c

Signed-off-by: Marcel Siegert <mws@twisted-brains.org>

--- linux/arch/x86_64/kernel/traps.c    2006-10-07 22:33:07.000000000 +0200
+++ linux-2.6.19-rc1-patched/arch/x86_64/kernel/traps.c 2006-10-06 15:20:18.801485944 +0200
@@ -29,7 +29,7 @@
  #include <linux/kprobes.h>
  #include <linux/kexec.h>
  #include <linux/unwind.h>
-
+#include <linux/kallsyms.h>
  #include <asm/system.h>
  #include <asm/uaccess.h>
  #include <asm/io.h>




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] 2.6.19-rc1 fix compilation/linking error in arch/x86_64_kernel/traps.c
  2006-10-07 21:05 [PATCH] 2.6.19-rc1 fix compilation/linking error in arch/x86_64_kernel/traps.c Marcel Siegert
@ 2006-10-08  1:43 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2006-10-08  1:43 UTC (permalink / raw)
  To: Marcel Siegert; +Cc: Linus Torvalds, Linux-Kernel

On Sat, 07 Oct 2006 23:05:45 +0200 Marcel Siegert wrote:

> hi linus,
> 
> the following compilation error:
> 
> CC      arch/x86_64/kernel/traps.o
> arch/x86_64/kernel/traps.c: In function 'print_trace_warning_symbol':
> arch/x86_64/kernel/traps.c:375: warning: implicit declaration of function 'print_symbol'
> 
> causing the following linking error
> arch/x86_64/kernel/built-in.o: In function `print_trace_warning_symbol':
> traps.c:(.text+0x2f85): undefined reference to `print_symbol'
> make: *** [vmlinux] Error 1
> 
> is being fixed with the following patch.
> 
> 
> 
> Description: fix missing include of kallsyms.h in arch/x86_64/kernel/traps.c


see:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4b0ff1a94cba36a35734c84f377e49cacc77f293

or just use current git (or -gitN patch)

---
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-08  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-07 21:05 [PATCH] 2.6.19-rc1 fix compilation/linking error in arch/x86_64_kernel/traps.c Marcel Siegert
2006-10-08  1:43 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome