lkml.org 
[lkml]   [2006]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.6.19-rc1 fix compilation/linking error in arch/x86_64_kernel/traps.c
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>


-
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: 2006-10-07 23:11    [W:0.031 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site