mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Voluspa <lista1@comhem.se>
Cc: linux-kernel@vger.kernel.org, ak@suse.de
Subject: Re: Merge window closed: v2.6.19-rc1
Date: Thu, 5 Oct 2006 09:59:44 -0700	[thread overview]
Message-ID: <20061005095944.f0c75c9f.rdunlap@xenotime.net> (raw)
In-Reply-To: <20061005184916.3bc76868@loke.fish.not>

On Thu, 5 Oct 2006 18:49:16 +0200 Voluspa wrote:

>   AR      arch/x86_64/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      vmlinux
> arch/x86_64/kernel/built-in.o: In function `print_trace_warning_symbol':
> traps.c:(.text.print_trace_warning_symbol+0xa): undefined reference to
> `print_symbol'
> make: *** [vmlinux] Error 1

You don't have CONFIG_KALLSYMS enabled?

Does this patch fix the build for you?

---
From: Randy Dunlap <rdunlap@xenotime.net>

Include linux/kallsyms.h unconditionally for print_symbol().

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 arch/x86_64/kernel/traps.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2619-rc1-pv.orig/arch/x86_64/kernel/traps.c
+++ linux-2619-rc1-pv/arch/x86_64/kernel/traps.c
@@ -23,6 +23,7 @@
 #include <linux/delay.h>
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
+#include <linux/kallsyms.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/nmi.h>
@@ -115,7 +116,6 @@ static int call_trace = 1;
 #endif
 
 #ifdef CONFIG_KALLSYMS
-# include <linux/kallsyms.h>
 void printk_address(unsigned long address)
 {
 	unsigned long offset = 0, symsize;


  reply	other threads:[~2006-10-05 16:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05 16:49 Voluspa
2006-10-05 16:59 ` Randy Dunlap [this message]
2006-10-05 17:03   ` Andi Kleen
2006-10-05 17:19   ` Voluspa
  -- strict thread matches above, loose matches on Subject: below --
2006-10-05  3:29 Linus Torvalds
2006-10-05 15:09 ` Alistair John Strachan
2006-10-05 15:41 ` Gene Heskett
2006-10-05 19:17 ` Peter Osterlund
2006-10-05 19:21   ` Eric Sandeen
2006-10-06  4:31 ` Alex Romosan
2006-10-06 17:49 ` caszonyi
2006-10-06 18:12   ` Linus Torvalds
2006-10-06 19:05     ` Eric W. Biederman
2006-10-07 18:23       ` Gabor Gombas
2006-10-07 20:29         ` Eric W. Biederman
2006-10-06 22:43     ` Grant Coady
2006-10-06 22:47 ` Jesper Juhl
2006-10-07  2:33   ` Linus Torvalds
2006-10-07 13:16     ` James Bottomley

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=20061005095944.f0c75c9f.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lista1@comhem.se \
    /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

all inboxes | Powered by JetHome®