From: Dave Jones <davej@redhat.com>
To: Nuno Monteiro <nmonteiro@uk2.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: linking problem with 2.6.0-test6-bk10
Date: Wed, 8 Oct 2003 21:04:20 +0100 [thread overview]
Message-ID: <20031008200420.GA23545@redhat.com> (raw)
In-Reply-To: <42450.212.113.164.100.1065637962.squirrel@maxproxy1.uk2net.com>
On Wed, Oct 08, 2003 at 07:32:42PM +0100, Nuno Monteiro wrote:
> ld -m elf_i386 -T arch/i386/kernel/vmlinux.lds.s
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o
> init/built-in.o --start-group usr/built-in.o
> arch/i386/kernel/built-in.o arch/i386/mm/built-in.o
> arch/i386/mach-default/built-in.o kernel/built-in.o
> mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o
> crypto/built-in.o lib/lib.a arch/i386/lib/lib.a lib/built-in.o
> arch/i386/lib/built-in.o drivers/built-in.o sound/built-in.o
> arch/i386/pci/built-in.o net/built-in.o --end-group -o vmlinux
> arch/i386/kernel/built-in.o(.init.text+0x2ebd): In function
> `centaur_mcr_insert':
> : undefined reference to `mtrr_centaur_report_mcr'
> make: *** [vmlinux] Error 1
Try this.
Dave
diff -Nru a/arch/i386/kernel/cpu/centaur.c b/arch/i386/kernel/cpu/centaur.c
--- a/arch/i386/kernel/cpu/centaur.c Wed Oct 8 21:04:03 2003
+++ b/arch/i386/kernel/cpu/centaur.c Wed Oct 8 21:04:03 2003
@@ -8,6 +8,8 @@
#ifdef CONFIG_X86_OOSTORE
+extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi);
+
static u32 __init power2(u32 x)
{
u32 s=1;
--
Dave Jones http://www.codemonkey.org.uk
next prev parent reply other threads:[~2003-10-08 20:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-08 18:32 linking problem with 2.6.0-test6-bk10 Nuno Monteiro
2003-10-08 20:04 ` Dave Jones [this message]
2003-10-08 21:18 ` Nuno Monteiro
[not found] ` <20031009234000.GC4683@hobbes.itsari.int>
[not found] ` <20031010004047.GE4683@hobbes.itsari.int>
2003-10-10 0:42 ` [PATCH] " Nuno Monteiro
2003-10-10 0:55 ` Dave Jones
2003-10-10 1:42 ` Nuno Monteiro
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=20031008200420.GA23545@redhat.com \
--to=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nmonteiro@uk2.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.