From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15385 invoked by alias); 2 Jun 2009 13:00:34 -0000 Received: (qmail 15374 invoked by uid 22791); 2 Jun 2009 13:00:34 -0000 X-SWARE-Spam-Status: No, hits=2.2 required=5.0 tests=BAYES_50,DEAR_SOMETHING,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 13:00:28 +0000 Received: from mail.gnu.org ([199.232.76.166]:47682 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MBTbN-0001i3-97 for gcc@gnu.org; Tue, 02 Jun 2009 09:00:25 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MBTbN-0005Ri-3g for gcc@gnu.org; Tue, 02 Jun 2009 09:00:25 -0400 Received: from mx20.gnu.org ([199.232.41.8]:32446) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBTbL-0005Pw-OM for gcc@gnu.org; Tue, 02 Jun 2009 09:00:24 -0400 Received: from mp.nii.ac.jp ([136.187.17.6]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBTbH-0005sx-Qz for gcc@gnu.org; Tue, 02 Jun 2009 09:00:20 -0400 Received: from p1193-ipngn801marunouchi.tokyo.ocn.ne.jp (EHLO _114.158.136.193_) ([114.158.136.193]) by mp.nii.ac.jp (MOS 3.8.7a FastPath queued) with ESMTP id ASG86145 (AUTH vijay@nii.ac.jp); Tue, 02 Jun 2009 22:00:12 +0900 (JST) Message-ID: <4A252259.8030902@nii.ac.jp> Date: Tue, 02 Jun 2009 13:00:00 -0000 From: Vijay Holimath Reply-To: vijay@nii.ac.jp User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: gcc@gnu.org Subject: Enquiry Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Detected-Operating-System: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00023.txt.bz2 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