Enquiry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am getting error messages for ep register ( __attribute__ ((interrupt_handler)) when I compile following sample program:



void swnmi() __attribute__ ((interrupt_handler));

void swnmi()
{
...
..
}

main()
{
..
..
}



main.o (.text+0xea): In function 'swnmi': undefined reference to '__ep'

main.o (.text+0xee): In function 'swnmi': undefined reference to '__ep'

collect2: Id returned 1 exit status




I added CPPFLAGS += -mprolog-function -mno-long-calls in makefile but error remains the same. I think I need to add some patches? If I have to, could anybody tell which one?

Thanks,
-Vijay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux