mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marcel Siegert <mws@twisted-brains.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.6.19-rc1 fix compilation/linking error in arch/x86_64_kernel/traps.c
Date: Sat, 07 Oct 2006 23:05:45 +0200	[thread overview]
Message-ID: <452816A9.3080208@twisted-brains.org> (raw)

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>




             reply	other threads:[~2006-10-07 21:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-07 21:05 Marcel Siegert [this message]
2006-10-08  1:43 ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=452816A9.3080208@twisted-brains.org \
    --to=mws@twisted-brains.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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