Re: 2.1.3x/4x - glibc2 compilation problems

Philip Blundell (pjb27@cam.ac.uk)
Fri, 30 May 1997 13:29:04 +0100 (BST)


On Fri, 30 May 1997, Bernhard Rosenkraenzer wrote:

> The error message I'm getting with make zImage is:
> (The C-Flags -DCPU=686 -D__SMP__ seem to be interesting, as well - I've
> configured everything for a normal Pentium without SMP.
> The really interesting stuff is at the end.)
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.41/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -x c++ -D__SMP__ -pipe -fno-strength-reduce -m386 -DCPU=386 -m486 -DCPU=486 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -m486 -mali
> gn-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -D__SMP__ -c -o init/main.o init/main.c
> *Initialization*:1: warning: `CPU' redefined
> *Initialization*:1: warning: this is the location of the previous definition

You've somehow screwed up your configuration - you've managed to configure
for a 486 _and_ a Pentium _and_ a PPro and SMP. Fix that before you start
poking around with glibc.

p.