Altera_Forum
Honored Contributor
20 years agoa problem of building project in nios2 IDE
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif
hello i created a project with the example hello_world, but when i builded the project, it generated errors. c-builder description was as follows: "make -s rebuild Compiling hello_world.c... Linking hello_world_6.elf... /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc-lib/nios2-elf/3.3.3/../../../../nios2-elf/bin/ld: region RAM is full (hello_world_6.elf section .text) /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc-lib/nios2-elf/3.3.3/../../../../nios2-elf/bin/ld: section .text [00000328 -> 0000b5e7] overlaps section .entry [00002000 -> 0000201f] /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc-lib/nios2-elf/3.3.3/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 0000051f] overlaps section .exceptions [00000020 -> 00000327] /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc-lib/nios2-elf/3.3.3/../../../../nios2-elf/bin/ld: section .rwdata [00000520 -> 00000f9f] overlaps section .text [00000328 -> 0000b5e7] collect2: ld returned 1 exit status make[1]: *** [hello_world_6.elf] Error 1 make: *** [rebuild] Error 2 Build completed " i had tried some way to solve the problem,but didn't success. The corresponding hardware system is consist of cpu, boot_rom, ram, uart. while i used the example "standard" as the hardware system, it could build the project successfully. could you help me with this problem, thank you very much!