From: Ed Sweetman <safemode@comcast.net>
To: Tim Cambrant <cambrant@acc.umu.se>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: 2.6.9-rc3-mm1 build failure
Date: Sat, 02 Oct 2004 09:01:52 -0400 [thread overview]
Message-ID: <415EA6C0.9020008@comcast.net> (raw)
In-Reply-To: <20041002105853.GD11386@shaka.acc.umu.se>
Tim Cambrant wrote:
>On Sat, Oct 02, 2004 at 12:50:38PM +0200, Adrian Bunk wrote:
>
>
>>On Sat, Oct 02, 2004 at 02:29:21AM -0700, Andrew Morton wrote:
>>
>>
>>>Norbert Preining <preining@logic.at> wrote:
>>>
>>>
>>>>..
>>>> LD .tmp_vmlinux1
>>>> arch/i386/kernel/built-in.o(.text+0x111f5): In function `end_level_ioapic_irq':
>>>> : undefined reference to `irq_mis_count'
>>>> kernel/built-in.o(.text+0x1eba7): In function `ack_none':
>>>> : undefined reference to `ack_APIC_irq'
>>>> make[1]: *** [.tmp_vmlinux1] Fehler 1
>>>> make[1]: Leaving directory `/usr/src/linux-2.6.9-rc3-mm1'
>>>>
>>>>
>>>hm, that's clever.
>>>
>>>See if arch/i386/kernel/io_apic.c needs
>>>
>>>
>>s/io_apic.c/irq.c/ and it should solve Norberts problem.
>>
>>
>>
>>>#include <asm/io_apic.h>
>>>...
>>>
>>>
>
>Sorry, forgot to cc LKML. The following patch works for me.
>
>
>--- linux-2.6.9-rc3-mm1/arch/i386/kernel/irq.c.orig 2004-10-02 12:52:57.833294096 +0200
>+++ linux-2.6.9-rc3-mm1/arch/i386/kernel/irq.c 2004-10-02 12:53:14.935694136 +0200
>@@ -17,6 +17,7 @@
>
> #include <asm/uaccess.h>
> #include <asm/hardirq.h>
>+#include <asm/io_apic.h>
>
> #ifdef CONFIG_4KSTACKS
> /*
>
>
>
>
asm/io_apic.h is the file that seems to be missing all the
declarations. When i included it in irq.c as the above patch does, my
build immediately failed with this. My config is for uni-processor
with io-apic enabled in config.
In file included from arch/i386/kernel/irq.c:20:
include/asm/io_apic.h: At top level:
include/asm/io_apic.h:108: error: `MAX_IO_APICS' undeclared here (not in
a function)
include/asm/io_apic.h:154: error: `MAX_IO_APICS' undeclared here (not in
a function)
include/asm/io_apic.h: In function `io_apic_read':
include/asm/io_apic.h:167: warning: implicit declaration of function
`__fix_to_virt'
include/asm/io_apic.h:167: error: `FIX_IO_APIC_BASE_0' undeclared (first
use in this function)
include/asm/io_apic.h:167: error: (Each undeclared identifier is
reported only once
include/asm/io_apic.h:167: error: for each function it appears in.)
include/asm/io_apic.h: In function `io_apic_write':
include/asm/io_apic.h:173: error: `FIX_IO_APIC_BASE_0' undeclared (first
use in this function)
include/asm/io_apic.h: In function `io_apic_modify':
include/asm/io_apic.h:187: error: `FIX_IO_APIC_BASE_0' undeclared (first
use in this function)
make[1]: *** [arch/i386/kernel/irq.o] Error 1
next prev parent reply other threads:[~2004-10-02 13:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-02 9:16 2.6.9-rc3-mm1 build failure Norbert Preining
2004-10-02 9:29 ` Andrew Morton
2004-10-02 10:33 ` Norbert Preining
2004-10-02 10:50 ` Adrian Bunk
2004-10-02 10:58 ` Tim Cambrant
2004-10-02 13:01 ` Ed Sweetman [this message]
2004-10-02 16:54 ` Adrian Bunk
2004-10-03 8:30 ` Norbert Preining
2004-10-03 23:00 ` Ed Sweetman
2004-10-03 23:24 ` Andrew Morton
2004-10-04 0:13 ` Adrian Bunk
2004-10-03 23:26 ` Adrian Bunk
2004-10-02 18:40 ` Ed Tomlinson
2004-10-02 23:03 ` Ed Tomlinson
2004-10-03 7:14 ` Jeremy Fitzhardinge
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=415EA6C0.9020008@comcast.net \
--to=safemode@comcast.net \
--cc=akpm@osdl.org \
--cc=cambrant@acc.umu.se \
--cc=linux-kernel@vger.kernel.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