Skip to contentSkip to conversation

arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p'

Xenomai-help David Tao 2 participants 2 messages Aug 25, 2009

lore
Share & tools
lore

David Tao

author
#0 lore raw

Hi,

I run into a build error when compiling ipipe.c as follows:

CC arch/arm/kernel/ipipe.o
arch/arm/kernel/ipipe.c: In function '__ipipe_grab_irq':
arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p' make[1]: *** [arch/arm/kernel/ipipe.o] Error 1
make: *** [arch/arm/kernel] Error 2

Kernel: 2.6.26
Adeos patch: adeos-ipipe-2.6.26-arm-1.12-00.patch
Xenomai: 2.4.7, and 2.4.8
Tool chain: Denx 4.2 for arm
Target CPU: iMX25

googling around find no such reports.

Any help is highly appreciated.

Best regards,
David

#1 lore raw
Quoted 11 lines · David Tao

Hi,

I run into a build error when compiling ipipe.c as follows:

CC arch/arm/kernel/ipipe.o
arch/arm/kernel/ipipe.c: In function '__ipipe_grab_irq':
arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p'
make[1]: *** [arch/arm/kernel/ipipe.o] Error 1
make: *** [arch/arm/kernel] Error 2

Quoted 5 lines

Kernel: 2.6.26
Adeos patch: adeos-ipipe-2.6.26-arm-1.12-00.patch
Xenomai: 2.4.7, and 2.4.8
Tool chain: Denx 4.2 for arm
Target CPU: iMX25

Well it looks like __ipipe_mach_irq_mux_p is not implemented for your processor. You will find documentation on what it should do on the I-pipe on ARM guide.

http://www.xenomai.org/index.php/I-pipe:ArmPorting

Normally, this code goes in arch/arm/mach-imx/include/mach/irqs.h, but the code I see here is not conditional, so should be used if IMX25 is part of the IMX family. However, I do not see IMX25 in the list of supported processors. Where did you get support for that processor from?

Signature · 1 line
                                          Gilles