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.
12367 Discussions

Question about nios ii interrupt registration

Altera_Forum
Honored Contributor I
729 Views

Hi everyone  

 

 

i`m try to develop interrupt handle method in my software running in uClinux. 

 

When i tries to compile alt_irq_register.c, there is error "undefined reference to 'alt_irq_active'". 

 

I uses "nios2-linux-gnu-gcc -Iinc -o alt_irq_register.o alt_irq_register.c alt_irq_handler.c" command to compile. 

 

alt_irq_active is defined in alt_irq_disable() function which is defined at alt_legacy_irq.h file. 

 

And alt_irq_register includes alt_legacy_irq.h file, but undefined reference error occurs. 

 

How can i solves this problem. 

 

Thank you!
0 Kudos
0 Replies
Reply