Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12366 Discussions

Error while buiilding in NiosII Eclipse EDS

Altera_Forum
Honored Contributor I
1,338 Views

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
Altera_Forum
Honored Contributor I
222 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
Reply