errors compiling 1.2.13 ELF

errors compiling 1.2.13 ELF

Post by Steven J. Mads » Wed, 30 Aug 1995 04:00:00



        I've been trying to compile 1.2.13 to give me a known stable kernel
for a few days now, but it's getting the better of me.  I think I'm a bit
too bleeding edge for this kernel, or I've done something really brainless.

        Here's the errors I get (abbreviated):

make zImage
...
ld -m elf_i386 -Ttext 0x100000 -e startup_32 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 drivers/scsi/scsi.a drivers/sound/sound.a \
        /usr/src/linux-1.2.13/lib/lib.a -o vmlinux
ld: warning: cannot find entry symbol startup_32; defaulting to 00100000
arch/i386/kernel/head.o(.text+0x18): undefined reference to __edata'
(and *bunches* more undefined references)

        My setup is: P100, 32MB, mostly ELF, gcc 2.7.0, latest libc (both v4
and v5), latest binutils, etc.  I did make sure that USE_ELF is set
correctly in arch/i386/Makefile.  Any tips?

--

 
 
 

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. Arghh - Xconfig for Speedstar+/Gateway CS-NI anyone?

3. Linux 1.2.13 ELF Compile

4. Misc. PTFs update questions

5. Problem with compiling modules with ELF 1.2.13 kernel

6. abc

7. patch to 1.2.13 to compile under ELF?

8. Help on Perl5.003 on Aix 4.2

9. compiling 1.2.13 after applying io.h patch and elf patch

10. ELF Compile Patches for Linux 1.2.13

11. 1.2.13 ELF -> Can't compile modules-1.3.57!

12. Compiling kernel 1.2.13 under ELF GCC

13. Compiling w3c_4.0B Daemon on ELF Linux 1.2.13