Forum Discussion
Altera_Forum
Honored Contributor
11 years agoError while buiilding in NiosII Eclipse EDS
Hi,
I am trying to run a simple hello world application by using New Nios II Application and BSP from template option in NiosII EDS. After selecting my sopcinfo file, choosing my sample project (hello world) when I click on build project to generate my elf file, I get the following error : alt_sys_init.c.text+0xb8): undefined reference to `__alt_invalid' collect2: error: ld returned 1 exit status make: *** [Test_on_actual_design.elf] Error 1 How can I solve this error? Thanks.1 Reply
- Altera_Forum
Honored Contributor
--- Quote Start --- Hi, I am trying to run a simple hello world application by using New Nios II Application and BSP from template option in NiosII EDS. After selecting my sopcinfo file, choosing my sample project (hello world) when I click on build project to generate my elf file, I get the following error : alt_sys_init.c.text+0xb8): undefined reference to `__alt_invalid' collect2: error: ld returned 1 exit status make: *** [Test_on_actual_design.elf] Error 1 How can I solve this error? Thanks. --- Quote End --- Try right clicking on your XXX_bsp folder and selecting NIOS 2, then generate BSP. Following, clean the project. -Matt