Messages in this thread |  | | Date | Sun, 19 May 1996 13:28:09 -0400 (EDT) | From | Eric Plante <> | Subject | Can't compile pre2.0.5.. (FAQ?) |
| |
I guess this is a faq, but traffic is too high on linux-kernel for me to have noticed it... :-(
Trying to compile pre2.0.5, I get the following: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -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_reg' /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 math emulation.. The rest of my config is as follows:
- no module support (tried it with it enabled too, not that I thought it 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------------------------------------------------------+ | «Des femmes nues se jetaient dans ses bras avec une joie démente» | | - Boris Vian | +-http://www.jsp.umontreal.ca/~planteer/ ---------------------------+
|  |