Hi,<br>This got resolved after passing the linux-headers drectory for --with-linux-dir while running ./configure.<br><br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 1:28 PM, Parthasarathy S <span dir="ltr"><<a href="mailto:ask.partha@gmail.com" target="_blank">ask.partha@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br><br><br>I am working on installing ethercat master on xenomai patched kernel. While doing make modules, I get the following error. Could any one help on this.<br>
<br>hardcube@hc-ec:/usr/src/ethercat-1.5.1$ sudo make modules<br>
make -C "/usr/src/linux-2.6.35.13" M="/usr/src/ethercat-1.5.1" modules<br>make[1]: Entering directory `/usr/src/linux-2.6.35.13'<br> CC [M] /usr/src/ethercat-1.5.1/devices/8139too-2.6.35-ethercat.o<br>
In file included from include/linux/gfp.h:4:0,<br> from include/linux/kmod.h:22,<br> from include/linux/module.h:13,<br> from /usr/src/ethercat-1.5.1/devices/8139too-2.6.35-ethercat.c:133:<br>
include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such file or directory<br>compilation terminated.<br>make[3]: *** [/usr/src/ethercat-1.5.1/devices/8139too-2.6.35-ethercat.o] Error 1<br>make[2]: *** [/usr/src/ethercat-1.5.1/devices] Error 2<br>
make[1]: *** [_module_/usr/src/ethercat-1.5.1] Error 2<br>make[1]: Leaving directory `/usr/src/linux-2.6.35.13'<br>make: *** [modules] Error 2<span class="HOEnZb"><font color="#888888"><br><br><br clear="all"><br>-- <br>
Parthasarathy S<br>C612 Sena Vihar<br>Kammanahalli Main Road<br>
Bangalore 560043 India<br><br>
</font></span></blockquote></div><br><br clear="all"><br>