Re: [kvm-devel] 2.6.23-rc8-mm1: drivers/kvm/ioapic.o build failure

Avi Kivity
2007-09-26T09:18:54Z

Andrew Morton wrote:
> On Wed, 26 Sep 2007 11:00:09 +0200 Avi Kivity <avi@qumranet.com> wrote:
>
>
>> Mariusz Kozlowski wrote:
>>
>>> Hello,
>>>
>>> Similar (the same?) as in 2.6.23-rc6-mm1?
>>>
>>> http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg208812.html
>>>
>>> CC [M] drivers/kvm/ioapic.o
>>> drivers/kvm/ioapic.c: In function 'ioapic_deliver':
>>> drivers/kvm/ioapic.c:208: error: 'dest_LowestPrio' undeclared (first use in this function)
>>> drivers/kvm/ioapic.c:208: error: (Each undeclared identifier is reported only once
>>> drivers/kvm/ioapic.c:208: error: for each function it appears in.)
>>> drivers/kvm/ioapic.c:219: error: 'dest_Fixed' undeclared (first use in this function)
>>> make[2]: *** [drivers/kvm/ioapic.o] Error 1
>>> make[1]: *** [drivers/kvm] Error 2
>>> make: *** [drivers] Error 2
>>>
>>>
>>>
>> We now include asm/io_apic.h like we should. Has that file changed in -mm?
>>
>>
>
> CONFIG_X86_IO_APIC isn't set.
>

Why should that matter? we're just pulling that file for the definitions.

I'll try to compile without it here and see how it breaks.

--
error compiling committee.c: too many arguments to function