我把蝶形单元的c程序模块放nios ide 中builder,出现下面的错误,请版主赐教!
**** Incremental build of configuration Debug for project fft_0 ****
make -s all
Linking fft_0.elf...
/cygdrive/d/altera/kits/nios2_51/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 (fft_0.elf section .text). Region needs to be 40596 bytes larger.
/cygdrive/d/altera/kits/nios2_51/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 (fft_0.elf section .bss). Region needs to be 396 bytes larger.
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: address 0x118c of fft_0.elf section .onchip_memory_0 is not within region onchip_memory_0
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 000004f7] overlaps section .exceptions [00000020 -> 000001c7]
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [000004f8 -> 00000f77] overlaps section .text [000001c8 -> 0000ae93]
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00000f78 -> 0000118b] overlaps section .text [000001c8 -> 0000ae93]
collect2: ld returned 1 exit status
make: *** [fft_0.elf] Error 1
Build completed
我把我编的整个程序加进去builde时,又出现一下错误:
**** Incremental build of configuration Debug for project fft_0 ****
make -s all
Linking fft_0.elf...
/cygdrive/d/altera/kits/nios2_51/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 (fft_0.elf section .text). Region needs to be 40596 bytes larger.
/cygdrive/d/altera/kits/nios2_51/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 (fft_0.elf section .bss). Region needs to be 396 bytes larger.
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: address 0x118c of fft_0.elf section .onchip_memory_0 is not within region onchip_memory_0
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 000004f7] overlaps section .exceptions [00000020 -> 000001c7]
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [000004f8 -> 00000f77] overlaps section .text [000001c8 -> 0000ae93]
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00000f78 -> 0000118b] overlaps section .text [000001c8 -> 0000ae93]
collect2: ld returned 1 exit status
make: *** [fft_0.elf] Error 1
Build completed