Compile error in SMP / IO-Apic code

From: dave (dave@qix.net)
Date: Sun Aug 04 2002 - 03:33:58 EST


I've found a compile error during compilation of mpparse.c. Note that I have
not configured the kernel to use IO-Apic, nor is my machine an SMP machine.
The bug affects 2.4.19-ac1 and -ac2 but not 2.4.19-rc3 (my running kernel.)
Also, both gcc 2.95 and 3.0 fail to compile the affected file.

The text of the compiler failure follows:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon -nostdinc -I
/usr/lib/gcc-lib/i386-linux/3.0.4/include -DKBUILD_BASENAME=mpparse -c -o
mpparse.o mpparse.c
mpparse.c:74: `dest_LowestPrio' undeclared here (not in a function)
mpparse.c: In function `smp_read_mpc':
mpparse.c:609: `dest_Fixed' undeclared (first use in this function)
mpparse.c:609: (Each undeclared identifier is reported only once
mpparse.c:609: for each function it appears in.)
mpparse.c:609: `dest_LowestPrio' undeclared (first use in this function)
make[2]: *** [mpparse.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make[1]: *** [_dir_arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2
hell:/usr/src/linux#

Thanks,
Dave Maietta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:25 EST