Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Cyclone III Starter Board - build error: * overlaps section *

Hi,

I have the Cyclone III Starter Board and I want to make a simple NIOS C/C++ application for this board. I chose the template count binary (but other templates also don't work). When I press "build" I get the following errors:

ld: section .rodata  overlaps section .exceptions   count_binary_0 line 0 1254122024054 60
ld: section .rwdata  overlaps section .text   count_binary_0 line 0 1254122024054 61

I think that I maybe use the wrong PTF-File (CIII_NiosII_Small.ptf, 56 KB)...?

What else could be the problem?

Regards,

stefan__

______

nios: NIOS II Version: 8.0, Build: 214

os: Windows Vista Enterprise

fpga: Cyclone III

______

edit: As I made the following steps it works:

- Set System Library Properties like in this tutorial (http://www.nioswiki.com/cyclone_iii_-_nios_ii_-_starter_board)

- Copy the PTF-File in your current project directory

- remove the write protection from every file (in your current project directory)

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try a PTF file from another example, I guess the CIII_NiosII_Small doesn't have enough memory to hold your code.

    Alternatively you can also try to compile with optimisations and a small C library to reduce the code size.