bad SMP defines on a UP Pentium II

mike mangino (mangino@cis.ohio-state.edu)
Thu, 31 Dec 1998 16:28:52 -0500 (EST)


When I try to compile withouy conif_smp, I get a lot of errors duw to undefined variables. It looks like a lot of the checks that are done use variables not declared if you don't define config SMP, I've included some of the errors and will try to write a patch.

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-f
rame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -m
align-functions=2 -DCPU=686 -c -o init/main.o init/main.c
/usr/src/linux/include/asm/bugs.h: In function `check_config':
In file included from init/main.c:27:
/usr/src/linux/include/asm/bugs.h:354: `smp_found_config' undeclared (first use
this function)
/usr/src/linux/include/asm/bugs.h:354: (Each undeclared identifier is reported o
nly once
/usr/src/linux/include/asm/bugs.h:354: for each function it appears in.)

-- 
Mike Mangino                   Senior Programmer/Analyst
mangino@cis.ohio-state.edu     manginom@oclc.org
Home: (614) 299-4322           Work: (614) 764-6280

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/