Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2594 - `acpi_mp_config' undeclared in linux-2.4.19-gentoo-r4
Summary: `acpi_mp_config' undeclared in linux-2.4.19-gentoo-r4
Status: RESOLVED DUPLICATE of bug 2604
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-08 16:36 UTC by Matt Boehlig
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Boehlig 2002-05-08 16:36:46 UTC
Now that bug #2518 is fixed, I have a similar problem.  If I disable ACPI I get
this:
gcc <<snip>> -DKBUILD_BASENAME=setup  -c -o setup.o setup.c
setup.c: In function `setup_arch':
setup.c:1071: `acpi_mp_config' undeclared (first use in this function)
setup.c:1071: (Each undeclared identifier is reported only once
setup.c:1071: for each function it appears in.)
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r4/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

I tried adding #ifdef CONFIG_X86_LOCAL_APIC or CONFIG_APCI blocks around it and
including <asm/acpi.h> and <asm-i386/acpi.h>, since acpi_mp_config is defined
there.  No combination worked.  

2.4.19-r1 works for me, with local APIC, IO-APIC, power management, APM enabled,
and ACPI disabled.

.config option          Enabled            Description
CONFIG_X86_UP_APIC
Y  Y  Y  Y  n  n   Local APIC support on uniprocessors
CONFIG_X86_UP_IOAPIC
Y  n  n  Y  n  n   IO-APIC support on uniprocessors
CONFIG_PM
	Y  Y  n  n  Y  n   Power Management support
CONFIG_ACPI
	n  n  n  Y  n  Y   ACPI support

compile problem		Y  Y  Y  n  n  n

I didn't see that APIC and ACPI were different, but they seem realated to this
problem.  Stupid anagrams! They are all the same in my head.
Comment 1 Matt Boehlig 2002-05-08 16:39:06 UTC
Bugzilla messed up my table.

.config options       Enabled
CONFIG_X86_UP_APIC    Y  Y  Y  Y  n  n
CONFIG_X86_UP_IOAPIC  Y  n  n  Y  n  n
CONFIG_PM             Y  Y  n  n  Y  n
CONFIG_ACPI           n  n  n  Y  n  Y

compile problem       Y  Y  Y  n  n  n
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-05-10 18:42:38 UTC

*** This bug has been marked as a duplicate of 2604 ***