Compiling kernel 1.2.13 under ELF GCC

Compiling kernel 1.2.13 under ELF GCC

Post by Kirk Wolf » Thu, 07 Mar 1996 04:00:00



Hello all,

        Here is the problem that I am running into.  I am using the 2.7.2 GCC version.   I can correctly compile the
latest kernels (1.3.67) but I am trying to compile the 1.2.13 kernel because I like it.  (I will move on later,
when I get time to upgrade all of my other programs...

here is the error that I get:
--------------------------------------------------------------------------------------
/usr/src/linux# make zImage
gcc -b i486-linuxaout -D__KERNEL__ -I/mnt2/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-pipe -m486  -c -o init/main.o init/main.c
/mnt2/src/linux/include/asm/io.h: In function `copro_timeout':
/mnt2/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h: In function `check_fpu':
/mnt2/src/linux/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/mnt2/src/linux/include/asm/io.h:82: inconsistent operand constraints in an `asm'
make: *** [init/main.o] Error 1
-------------------------------------------------------------------------------------------

This is the entire output that I get, not much eh?

Please respond to me also with email:

Kirk

TTYL

 
 
 

1. errors compiling 1.2.13 with ELF (gcc 2.7.0)

Hello.

  I'm having problems compiling kernel 1.2.13 on an (mostly) ELF system
with gcc 2.7.0.

I am trying to compile as a.out :
  gcc -b i486-linuxaout
  ld -m i386linux

I am getting errors from the linker  at vmlinux:
...
ld -m i386linux -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o
init/version.o arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o net/net.o ipc/ipc.o fs/filesystems.a drivers/block/block.a
drivers/char/char.a drivers/net/net.a /usr/src/linux-1.2.13/lib/lib.a
-o vmlinux
fs/fs.o(.text+0xde58): undefined reference to `proc_read_super'

Any suggestions on compiling a.out 1.2.x under ELF gcc will be much
appreciated.

I've heard that there is a patch (H.J. Lu ?) for the 1.2.x kernels to allow
compiling as ELF.  Does anyone know where I can find it?  Does it work?

Thanks Much!

++Randy

++
Randall Jones

NRAO AOC - Interference Protection
--
++
Randall Jones

NRAO AOC - Interference Protection

2. Converting DOD format to DNS database

3. compiling 1.2.13 in with elf gcc ?

4. Serial problem, need a clue...

5. gcc ELF questions for 1.2.13 kernel

6. Parsing The Command Line

7. Problem with compiling modules with ELF 1.2.13 kernel

8. FAT32: size limit under FreeBSD?

9. Compiling 1.2.13 kernel with RedHat 3.0.3/gcc 2.7.2

10. SOLVED: 1.2.13 kernel w/GCC 2.7.0 compile

11. Kernel 1.2.13 and gcc 2.7.0 wont compile

12. Problems compiling 1.2.13 kernel with gcc 2.7.2--PLEASE HELP

13. Problem compiling 1.2.13 kernel w/gcc 2.7.2