不知道错在哪里,好像缺一个 .elf文件,不知道原因,恳请高手帮忙!
**** Incremental build of configuration Debug for project test ****
make -s all Compiling hello_world.c... ../hello_world.c: In function `main': ../hello_world.c:31: warning: int format, long unsigned int arg (arg 2) ../hello_world.c:33: warning: int format, long unsigned int arg (arg 2) ../hello_world.c: In function `sprungmessung': ../hello_world.c:52: warning: unused variable `k' ../hello_world.c:64:3: warning: no newline at end of file Linking test.elf... /cygdrive/e/altera/kits/nios2_60/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 (test.elf section .text). Region needs to be 30076 bytes larger. /cygdrive/e/altera/kits/nios2_60/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00004020 -> 0000453f] overlaps section .exceptions [00004020 -> 000041c7] /cygdrive/e/altera/kits/nios2_60/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [00004540 -> 00005f83] overlaps section .text [000041c8 -> 0000f57b] /cygdrive/e/altera/kits/nios2_60/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00005f84 -> 00006197] overlaps section .text [000041c8 -> 0000f57b] collect2: ld returned 1 exit status make: *** [test.elf] Error 1 Build completed |