Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

Question about nios ii interrupt registration

Altera_Forum
Honored Contributor II
917 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