On Mon, Jan 25, 2016 at 05:44:48PM +0100, Jean-Baptiste Tredez wrote: > Hello, > > I tried to compile linux kernel 3.18.12 with xenomai 2.6.4 and rtserial > enabled on arm imx6. The compilation failed with : > CC [M] drivers/xenomai/serial/rt_imx_uart.o > drivers/xenomai/serial/rt_imx_uart.c:39:27: fatal error: > mach/hardware.h: No such file or directory >(...) > Do you have an idea ?
First Xenomai 2.6.4 can not be used with Linux 3.18, you need Xenomai 2.6 git tree for Linux 3.18. But it is very possible that rt_imx_uart.c is broken. The fix is to have a look at the corresponding mainline driver, and adapt it to RTDM. Regards. -- Gilles. https://click-hack.org _______________________________________________ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailman/listinfo/xenomai