[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiler fails build kernel (old news).



I realize this has been discussed before, but I wasn't dealing with ELF at that point,
so I didn't follow the thread.  Is there a resolution for this problem?

I am trying to get up-to-speed with ELF. I am using ELF gcc 2.7.2-5 & binutils 2.6-2.

gcc -D__KERNEL__ -I/usr/src/linux-1.2.13/include -Wall -Wstrict-prototypes -O2 
    -fomit-frame-pointer -pipe -m486  -c -o init/main.o init/main.c
/usr/src/linux-1.2.13/include/asm/io.h: In function `copro_timeout':   
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h: In function `check_fpu':
/usr/src/linux-1.2.13/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
make: *** [init/main.o] Error 1
bash# 

Thanks,
  Alex

-- 
Alex Arthur / Huntington, NY
aca@panix.com, artal03@cai.com


Reply to: