Honored Contributor II
04-24-2017 06:17 AM
Hi everyonei`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!