From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ivan Kalatchev" References: <001101ca930a$1052fa70$30f8ef50$@kalatchev@domain.hid> <4B4BADDD.7070900@domain.hid> <001f01ca9390$5fa20db0$1ee62910$@kalatchev@domain.hid> <4B4C84AC.3020207@domain.hid> <002001ca9399$99b07c40$cd1174c0$@kalatchev@domain.hid> <4B4C96D5.7060902@domain.hid> <002101ca93a1$a39d4050$ead7c0f0$@kalatchev@domain.hid> <4B4CA076.1050205@domain.hid> In-Reply-To: <4B4CA076.1050205@domain.hid> Date: Tue, 12 Jan 2010 12:39:17 -0500 Message-ID: <002501ca93ae$2b168850$814398f0$@kalatchev@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: en-ca Subject: Re: [Xenomai-help] Viper board (ARM XScale) problems with Xenomai-2.4.10 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Gilles Chanteperdrix' Cc: 'Xenomai help' > > my gcc is 3.3.4 > > > > I changed arith.h as you suggested, and it compiled, but then linker > > couldn't find rthal_arm_nodiv_ullimd definition, as there is no = code > > for it for __GNUC__ < 4. >=20 > Ok, you need to change the other #ifdef a bit further. When I added __GNUC__ >=3D 4 to both #if __LINUX_ARM_ARCH__ in = asm-arm/arith.h,=20 I again received compiler error for some reason.=20 Is there way to do what nodiv_ullimd is doing through Linux's do_div ? = That's what I usually use. > > > > > >> Please try what I told you: replacing handle_irq with > >> __ipipe_handle_irq > > I tried and it worked perfectly well!!! Now my code is straightforward, much simpler and nicer. Thanks a lot! Regards, Ivan