Skip to contentSkip to conversation

Local APIC compiler error in 2.4.11-pre4

DISCUSSION Sebastian Benoit 1 participant 1 message Oct 5, 2001

lore
Share & tools
lore
#0 lore raw

When doing 'make oldconfig' for 2.4.11-pre4 it asked me for "Local APIC support on uniprocessors" and I said [Y]es, why not. see result below...

gcc -D__KERNEL__ -I/opt/home/benoit/src/linux-2.4.11-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer --fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 --march=i686 -c -o pci-pc.o pci-pc.c
{standard input}: Assembler messages:
{standard input}:1050: Warning: indirect lcall without *' {standard input}:1135: Warning: indirect lcall without *' {standard input}:1221: Warning: indirect lcall without *' {standard input}:1296: Warning: indirect lcall without *' {standard input}:1307: Warning: indirect lcall without *' {standard input}:1318: Warning: indirect lcall without *' {standard input}:1393: Warning: indirect lcall without *' {standard input}:1404: Warning: indirect lcall without *' {standard input}:1415: Warning: indirect lcall without *' {standard input}:1889: Warning: indirect lcall without *' {standard input}:1985: Warning: indirect lcall without *'

gcc -D__KERNEL__ -I/opt/home/benoit/src/linux-2.4.11-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o pci-irq.o pci-irq.c

gcc -D__KERNEL__ -I/opt/home/benoit/src/linux-2.4.11-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c mtrr.c

gcc -D__KERNEL__ -I/opt/home/benoit/src/linux-2.4.11-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o mpparse.o mpparse.c

mpparse.c: In function `MP_processor_info':
mpparse.c:195: `Clustered_apic_mode' undeclared (first use in this function) mpparse.c:195: (Each undeclared identifier is reported only once mpparse.c:195: for each function it appears in.)
mpparse.c: In function `Smp_read_mpc':
mpparse.c:386: `Clustered_apic_mode' undeclared (first use in this function) make[1]: *** [mpparse.o] Error 1
make[1]: Leaving directory /opt/home/benoit/src/linux-2.4.11-pre4/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

.config:

# CONFIG_SMP is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y

/B.

Signature · 6 lines
Sebastian Benoit <[email protected]> / Software Engineer
Andastra GmbH Germany / phone ++49 6081 682-200 / fax -299
OpenPGP-Key ID 0x82AE75E4                             
fingerprint 0BDA 0CB7 9BCA AF77 28EE  D91A 396D 93BC 82AE 75E

Quidquid latine dictum sit, altum viditur.