From: Srihari Vijayaraghavan <harisri@bigpond.com>
To: linux-kernel@vger.kernel.org
Subject: 2.6.1-rc1 compile error
Date: Thu, 1 Jan 2004 01:09:12 +1100 [thread overview]
Message-ID: <200401010109.12005.harisri@bigpond.com> (raw)
While "make bzImage", it showed these error messages:
CC arch/x86_64/kernel/io_apic.o
arch/x86_64/kernel/io_apic.c:1215: error: redefinition of
`disable_edge_ioapic_irq'
include/asm/io_apic.h:178: error: `disable_edge_ioapic_irq' previously defined
here
arch/x86_64/kernel/io_apic.c:1259: error: redefinition of
`end_edge_ioapic_irq'
include/asm/io_apic.h:180: error: `end_edge_ioapic_irq' previously defined
here
arch/x86_64/kernel/io_apic.c:1346: error: redefinition of
`mask_and_ack_level_ioapic_irq'
include/asm/io_apic.h:179: error: `mask_and_ack_level_ioapic_irq' previously
defined here
make[1]: *** [arch/x86_64/kernel/io_apic.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
I applied this patch (I do not know, it could be wrong):
--- 2.6.1-rc1/arch/x86_64/kernel/io_apic.c.orig 2004-01-01 00:56:40.534040872
+1100
+++ 2.6.1-rc1/arch/x86_64/kernel/io_apic.c 2004-01-01 00:57:46.491013888
+1100
@@ -1212,7 +1212,6 @@
*/
#define enable_edge_ioapic_irq unmask_IO_APIC_irq
-static void disable_edge_ioapic_irq (unsigned int irq) { /* nothing */ }
/*
* Starting up a edge-triggered IO-APIC interrupt is
@@ -1256,7 +1255,6 @@
ack_APIC_irq();
}
-static void end_edge_ioapic_irq (unsigned int i) { /* nothing */ }
/*
@@ -1343,7 +1341,6 @@
}
}
-static void mask_and_ack_level_ioapic_irq (unsigned int irq) { /* nothing */
}
static void set_ioapic_affinity (unsigned int irq, cpumask_t mask)
{
Then it compiled the io_apic.c and progressed (maybe a lot). But it failed and
showed this error message:
LD .tmp_vmlinux1
arch/i386/pci/built-in.o(.text+0xc6e): In function `pcibios_lookup_irq':
: undefined reference to `can_request_irq'
make: *** [.tmp_vmlinux1] Error 1
Please feel free to send me patches, I am happy to test and report. BTW I see
the same behaviour with 2.6.1-rc1-mm1 too.
Thanks
Hari
harisri@bigpond.com
PS: I am hoping for a good 2.6.1 (out of the box) for x86-64
next reply other threads:[~2003-12-31 14:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-31 14:09 Srihari Vijayaraghavan [this message]
2004-01-01 9:26 ` 2.6.1-rc1 compile error Juergen Hasch
2004-01-01 19:34 ` Linus Torvalds
[not found] <18PmG-40b-9@gated-at.bofh.it>
2004-01-01 22:01 ` Andi Kleen
2004-01-03 2:09 ` Srihari Vijayaraghavan
2004-01-03 2:51 ` Andi Kleen
2004-01-03 4:22 ` Srihari Vijayaraghavan
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=200401010109.12005.harisri@bigpond.com \
--to=harisri@bigpond.com \
--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