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

为什么IDE编译过程中出现collect2: ld returned 1 exit status?

为什么IDE编译过程中出现collect2: ld returned 1 exit status?

请哪位高人能知道,为什么IDE编译过程中出现collect2: ld returned 1 exit status?
当我run工程时出错提示:The Nios II ELF executable does not exist. Please verify that the project led_project_0 built successfully

求救各位达人指点……

一下是我的编译:
**** Incremental build of configuration Debug for project led_project_0 ****
make -s all
Compiling LED_TEST.c...
Linking led_project_0.elf...
/cygdrive/c/altera/kit/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_memory_0 is full (led_project_0.elf section .rwdata). Region needs to be 2416 bytes larger.
/cygdrive/c/altera/kit/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00000020 -> 00000233] overlaps section .exceptions [00000020 -> 000001c7]
/cygdrive/c/altera/kit/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/lib/mno-hw-mul/libsmallc.a(writer.o)(.text+0x1c): In function `_write_r':
/build/nios2/bin/nios2-gnutools/src/newlib/newlib/libc/reent/writer.c:57: Unable to reach errno (at 0x00000020) from the global pointer (at 0x0000c918) because the offset (-51448) is out of the allowed range, -32678 to 32767.
collect2: ld returned 1 exit status
make: *** [led_project_0.elf] Error 1
Build completed
返回列表