Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
1,183 Views

Error 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.
0 Kudos
1 Reply
Highlighted
Honored Contributor I
67 Views

 

--- 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
0 Kudos