2003-08-20 16:59:06

by Alex Goddard

[permalink] [raw]
Subject: Build Broken for 2.6.0-test3-bk8

Attempting to compile results in this:

arch/i386/kernel/setup.c: In function `parse_cmdline_early':
arch/i386/kernel/setup.c:548: `skip_ioapic_setup' undeclared (first use in
this function)
arch/i386/kernel/setup.c:548: (Each undeclared identifier is reported only
once
arch/i386/kernel/setup.c:548: for each function it appears in.)
make[1]: *** [arch/i386/kernel/setup.o] Error 1
make: *** [arch/i386/kernel] Error 2

regardless of whether APIC support is enabled.

--
Alex Goddard
[email protected]


2003-08-20 17:19:58

by Alex Goddard

[permalink] [raw]
Subject: Re: Build Broken for 2.6.0-test3-bk8

On Wed, 20 Aug 2003, Alex Goddard wrote:

> Attempting to compile results in this:
>
> arch/i386/kernel/setup.c: In function `parse_cmdline_early':
> arch/i386/kernel/setup.c:548: `skip_ioapic_setup' undeclared (first use in
> this function)
> arch/i386/kernel/setup.c:548: (Each undeclared identifier is reported only
> once
> arch/i386/kernel/setup.c:548: for each function it appears in.)
> make[1]: *** [arch/i386/kernel/setup.o] Error 1
> make: *** [arch/i386/kernel] Error 2
>
> regardless of whether APIC support is enabled.

Attached is my .config. The machine's a uniprocessor Athlon. Normally
APIC is disabled, and this paticular problem gets hit regardless of
whether APIC is enabled or not.

Adding a header or two (apic.h and io_apic.h) to setup.c fixes the
problem, but only if I enable APIC.

--
Alex Goddard
[email protected]


Attachments:
.config (24.04 kB)