Altera_Forum
Honored Contributor
16 years agonios2 ide (build target)problem
what is this problem?how to resolve it?
**** Build of configuration Debug for project hello_world **** make -s all includes Linking hello_world.elf... /cygdrive/d/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_mem is full (hello_world.elf section .text). Region needs to be 20528 bytes larger. /cygdrive/d/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_mem is full (hello_world.elf section .rwdata). Region needs to be 3084 bytes larger. /cygdrive/d/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rodata [01001000 -> 0100105b] overlaps section .text [01001000 -> 0100702f] /cygdrive/d/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rwdata [0100105c -> 01002c0b] overlaps section .text [01001000 -> 0100702f] /cygdrive/d/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .bss [01001000 -> 01001213] overlaps section .text [01001000 -> 0100702f] /cygdrive/d/altera/81/quartus/cpu_c/software/hello_world_syslib/Debug/libhello_world_syslib.a(alt_close.o)(.text+0x128): In function `alt_get_errno': /cygdrive/d/altera/81/nios2eds/components/altera_hal/HAL/inc/sys/alt_errno.h:81: Unable to reach errno (at 0x01001004) from the global pointer (at 0x0100abac) because the offset (-39848) is out of the allowed range, -32678 to 32767. collect2: ld returned 1 exit status make: *** [hello_world.elf] Error 1 Build completed in 3.593 seconds