Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

kernel linker error

Hello, I tried to compile the kernel for a custom board with stratix and 2x16MByte SDRAM.

The linker gives this message:

init/.version.o.d: done.
  LD      init/built-in.o
  LD      .tmp_vmlinux1
nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .text)
nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .data)
nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .init)
nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .bss)
nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .sbss)
nios2-elf-ld: section .data  overlaps section .text 
nios2-elf-ld: section .init  overlaps section .text 
make: ***  Error 1
make: ***  Error 2
make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x'

I don't know what this mean. How can I fix it?
No RepliesBe the first to reply