Re: Debian 0.93 vs kernel 1.3.59
When you do `make config' you are asked whether have an ELF or a.out
compiler - it looks from the line below as if you've answered that
you've got an ELF compiler.
What is CONFIG_KERNEL_ELF set to in /usr/src/linux/.config?
|Compile kernel as ELF - if your GCC is ELF-GCC
|CONFIG_KERNEL_ELF
| The gcc version 2.7.0 and newer produces the new ELF binary format
| as default. If you have such a compiler (try "gcc -v"), say Y
| here, otherwise N.
| It is possible, albeit almost pointless, to compile the kernel in
| a.out format even if your compiler produces ELF as default. For
| that, you would have to say N here and change the variables LD and
| CC in the toplevel Makefile. Similarly, if your compiler produces
| a.out by default but is able to produce ELF, you can compile the
| kernel in ELF by saying Y here and editing the variables CC
| and LD in the toplevel Makefile.
Jim Rush writes:
>I want to use the 1.3 series kernels. It has a feature I need. However,
>when I compile I get the following error.
>
>ld -m elf_i386 -r -o kernel.o ksyms.o sched.o dma.o fork.o exec_domain.o panic.
>o printk.o sys.o module.o exit.o signal.o itimer.o info.o time.o softirq.o resou
>rce.o sysctl.o
>make[1]: *** [kernel.o] Segmentation fault (core dumped)
>make[1]: *** Deleting file `kernel.o'
>make[1]: Leaving directory `/usr/src/kernel-headers-1.3.59/kernel'
>make: *** [linuxsubdirs] Error 2
--
Richard Kettlewell richard@uk.geeks.org http://www.elmail.co.uk/staff/richard/
Reply to: