Hey....

Anyone get 2.4.0 (and 2.4.0-prerelease for that matter) to build on an
Athlon??? As soon as I set the CPU type to Athlon/K7, make dies. Here's
the output from a .config that has had NOTHING changed EXCEPT the CPU
type's been changed. This is after 'make dep' worked fine. Any ideas?


jethro at dragon:/usr/local/src/LINUX/2.4.0> make
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/local/src/LINUX/2.4.0/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i686 -malign-functions=4    -c -o init/main.o init/main.c
/usr/local/src/LINUX/2.4.0/include/asm/hw_irq.h: In function
`x86_do_profile':
In file included from /usr/local/src/LINUX/2.4.0/include/linux/irq.h:57,
                 from /usr/local/src/LINUX/2.4.0/include/asm/hardirq.h:6,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h:45,
                 from /usr/local/src/LINUX/2.4.0/include/asm/string.h:296,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/string.h:21,
                 from /usr/local/src/LINUX/2.4.0/include/linux/fs.h:23,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/capability.h:17,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/binfmts.h:5,
                 from /usr/local/src/LINUX/2.4.0/include/linux/sched.h:9,
                 from /usr/local/src/LINUX/2.4.0/include/linux/mm.h:4,
                 from /usr/local/src/LINUX/2.4.0/include/linux/slab.h:14,
                 from /usr/local/src/LINUX/2.4.0/include/linux/malloc.h:4,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/local/src/LINUX/2.4.0/include/asm/hw_irq.h:198: `current' undeclared
(first use in this function)
/usr/local/src/LINUX/2.4.0/include/asm/hw_irq.h:198: (Each undeclared
identifier is reported only once
/usr/local/src/LINUX/2.4.0/include/asm/hw_irq.h:198: for each function it
appears in.)
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h: In function
`raise_softirq':
In file included from /usr/local/src/LINUX/2.4.0/include/asm/string.h:296,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/string.h:21,
                 from /usr/local/src/LINUX/2.4.0/include/linux/fs.h:23,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/capability.h:17,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/binfmts.h:5,
                 from /usr/local/src/LINUX/2.4.0/include/linux/sched.h:9,
                 from /usr/local/src/LINUX/2.4.0/include/linux/mm.h:4,
                 from /usr/local/src/LINUX/2.4.0/include/linux/slab.h:14,
                 from /usr/local/src/LINUX/2.4.0/include/linux/malloc.h:4,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h:89: `current'
undeclared (first use in this function)
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h: In function
`tasklet_schedule':
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h:160: `current'
undeclared (first use in this function)
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h: In function
`tasklet_hi_schedule':
/usr/local/src/LINUX/2.4.0/include/linux/interrupt.h:174: `current'
undeclared (first use in this function)
/usr/local/src/LINUX/2.4.0/include/asm/string.h: In function
`__constant_memcpy3d':
In file included from
/usr/local/src/LINUX/2.4.0/include/linux/string.h:21,
                 from /usr/local/src/LINUX/2.4.0/include/linux/fs.h:23,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/capability.h:17,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/binfmts.h:5,
                 from /usr/local/src/LINUX/2.4.0/include/linux/sched.h:9,
                 from /usr/local/src/LINUX/2.4.0/include/linux/mm.h:4,
                 from /usr/local/src/LINUX/2.4.0/include/linux/slab.h:14,
                 from /usr/local/src/LINUX/2.4.0/include/linux/malloc.h:4,
                 from
/usr/local/src/LINUX/2.4.0/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/local/src/LINUX/2.4.0/include/asm/string.h:305: `current' undeclared
(first use in this function)
/usr/local/src/LINUX/2.4.0/include/asm/string.h: In function `__memcpy3d':
/usr/local/src/LINUX/2.4.0/include/asm/string.h:312: `current' undeclared
(first use in this function)
make: *** [init/main.o] Error 1



-Yaron

--