Troubles compiling Linux kernel 1.2.13 with GCC 2.7.2

Troubles compiling Linux kernel 1.2.13 with GCC 2.7.2

Post by Antonio Trinda » Thu, 11 Jan 1996 04:00:00



   I have a problem which I can't stop from hapenning:
When I try to compile a Linux Kernel the compile aborts when compiling main.c
with the message:

   main.c[82]: copro_timeout
   io.h: inconsistent operand constraints in an asm

and aborts.
  That's not the only message, it gives me more or less a half a dozen ones
exactly in the same file and in the same source line of io.h.
  What seams to be the problem? Configuration of GCC?
  Please help me. I really need to re-compile the kernel.
  Thanks in advance.

P.S.: Please reply by mail as I don't read the news very much.

 
 
 

1. Trouble compiling kernel 1.2.13 with gcc 2.7.2

Hi,

When I try compiling 1.2.13, I get the included error from gcc. Please note
I'm trying to use the a.out fixes from the elf howto and not the Lu patches.
Do I need some other parameter on gcc?

                                jim condon

------Included Error Message ------
gcc -b i486-linuxaout -D__KERNEL__ -I/usr/src/linux/include -O2 -fomit-frame-poi
nter -pipe -m486  -c -o init/main.o init/main.c
/usr/src/linux/include/asm/io.h: In function `copro_timeout':
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h: In function `check_fpu':
/usr/src/linux/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
make: *** [init/main.o] Error 1        gcc -b i486-linuxaout -D__KERNEL__ -I/usr/src/linux/include -O2 -fomit-frame-poi
nter -pipe -m486  -c -o init/main.o init/main.c
/usr/src/linux/include/asm/io.h: In function `copro_timeout':
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h: In function `check_fpu':
/usr/src/linux/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
make: *** [init/main.o] Error 1        

2. ET4000/W32 Timings

3. Trouble compiling 1.2.13 kernel with gcc 2.7.2

4. lilo won't recognize /dev/sda

5. Trouble compiling 1.2.13 kernel w/ GCC-2.7.2

6. "mount -o bind" - "fs type none not supported" error

7. gcc has trouble with compiling 1.2.13 kernel

8. Setting kernel parameters

9. Compiling linux 1.2.13 kernel with gcc 2.7.2

10. Compiling Linux kernel 1.2.13 and gcc-2.5.8

11. Compiling 1.2.13 kernel with RedHat 3.0.3/gcc 2.7.2

12. SOLVED: 1.2.13 kernel w/GCC 2.7.0 compile

13. Kernel 1.2.13 and gcc 2.7.0 wont compile