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

Question about nios ii interrupt registration

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