Enquiry

Vijay Holimath vijay@nii.ac.jp
Tue Jun 2 13:02:00 GMT 2009


Dear Sir,

         I am using gcc compiler for v850e cpu. When I use the 
arrtribute: __attribute__ ((interrupt_handler)) or __attribute__ 
((interrupt); for interrupt function,  say for example

void swnmi() __attribute__ ((interrupt_handler));

void swnmi()
{
...
..
}

main()
{
..
..
}

I am getting following error messages when I compile:

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 will be grateful to you if you could help me to get rid of these error 
messages.  Probably I have to link some libraries?


Many thanks,
-Vijay

-- 
Vijay Holimath, Ph.D
National Institute of Informatics
2-1-2 Hitotsubashi Chiyoda-ku 
Tokyo 101-8430, Japan
Tel: +81-3-4212-2662 |Fax:+81-3-3556-1916
Mobile: +81-80-3542-1560
e-mail: vijay@nii.ac.jp
http://www.linkedin.com/in/vijayholimath
Skype name: vijay.holimath 



More information about the Gcc-help mailing list