From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49119A02.9020407@domain.hid> Date: Wed, 05 Nov 2008 14:05:06 +0100 From: =?ISO-8859-1?Q?C=E9dric_Schaffter?= MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: Quoted-Printable Subject: [Xenomai-help] rt_intr_create issues List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi List! I'm writing a programm where I need to use interruptions. To create it, I use the function "rt_intr_create(RT_INTR *intr, const=20 char *name, unsigned irq, rt_isr_t isr, rt_iack_t iack, int mode)". I included this header : #include . When I compile, I get these error messages : *error 'RT_INTR_HANDLED' undeclared error too many arguments to function 'rt_intr_create'.* When I observe the file intr.h, I see there are two rt_intr_create (the=20 one with six arguments which I need and an other one with only four). I tried to specifiy four parameters as requested by the other=20 *rt_intr_create* and it works, so I don't think there is a problem with=20 my include paths. Does someone already have these issues or can help me? In this file there is an other instruction that I don't understand : "#if (defined(__KERNEL__) || defined(__XENO_SIM__)) && !defined(DOXYGEN_C= PP) Best regards, C=E9dric Schaffter