首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

高手帮忙解决以下:我的程序build能通过但是不能run

同样的问题在我这也出现了
锐意进取,为基本的车房奋斗!

最近出现的问题:
**** Build of configuration Debug for project hello_world_0 ****

make -s all includes
Compiling hello_world.c...
Linking hello_world_0.elf...
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_mem is full (hello_world_0.elf section .text). Region needs to be 38132 bytes larger.
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_mem is full (hello_world_0.elf section .bss). Region needs to be 320 bytes larger.
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: address 0x4140 of hello_world_0.elf section .onchip_mem is not within region onchip_mem
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00002020 -> 000024ff] overlaps section .exceptions [00002020 -> 000021c7]
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [00002500 -> 00003f2b] overlaps section .text [000021c8 -> 0000d4f3]
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00003f2c -> 0000413f] overlaps section .text [000021c8 -> 0000d4f3]
collect2: ld returned 1 exit status
make: *** [hello_world_0.elf] Error 1
Build completed in 16.984 seconds

锐意进取,为基本的车房奋斗!
返回列表