Can't compile pre2.0.5.. (FAQ?)

Eric Plante (planteer@jsp.umontreal.ca)
Sun, 19 May 1996 13:28:09 -0400 (EDT)


I guess this is a faq, but traffic is too high on linux-kernel for me t=
o=20
have noticed it... :-(=20

Trying to compile pre2.0.5, I get the following:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2=
=20
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=3D2=
=20
-malign-jumps=3D2 -malign-functions=3D2 -DCPU=3D586 -c -o init/main.o =
init/main.c
In file included from /usr/src/linux/include/asm/processor.h:11,
from /usr/src/linux/include/linux/sched.h:80,
from init/main.c:19:
/usr/src/linux/include/asm/math_emu.h:56: redefinition of `struct fpu_r=
eg'
/usr/src/linux/include/asm/math_emu.h:69: redefinition of `struct info'
make: *** [init/main.o] Error 1

By the way, I'm not sure if it's relevent, but I didn't ask for kernel=20
math emulation.. The rest of my config is as follows:

- no module support (tried it with it enabled too, not that I thought i=
t=20
made a difference, just that I had left it to yes on the first attempt)

- Elf and a.out (and java)

- Kernel as elf

- gcc is 2.7.2

- libc is 5.2.18

any ideas?

+--Eric Plante------------------------------------------------------+
| =ABDes femmes nues se jetaient dans ses bras avec une joie d=E9mente=BB=
|
| - Boris Vian |
+-http://www.jsp.umontreal.ca/~planteer/ ---------------------------+