[etherlab-users] fatal error: generated/bounds.h: No such file or directory

Parthasarathy S ask.partha at gmail.com
Thu Jun 28 19:09:15 CEST 2012


Hi,
This got resolved after passing the linux-headers drectory  for
--with-linux-dir while running ./configure.


On Thu, Jun 28, 2012 at 1:28 PM, Parthasarathy S <ask.partha at gmail.com>wrote:

> Hello,
>
>
> 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.
>
> hardcube at hc-ec:/usr/src/ethercat-1.5.1$ sudo make modules
> make -C "/usr/src/linux-2.6.35.13" M="/usr/src/ethercat-1.5.1" modules
> make[1]: Entering directory `/usr/src/linux-2.6.35.13'
>   CC [M]  /usr/src/ethercat-1.5.1/devices/8139too-2.6.35-ethercat.o
> In file included from include/linux/gfp.h:4:0,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from
> /usr/src/ethercat-1.5.1/devices/8139too-2.6.35-ethercat.c:133:
> include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such
> file or directory
> compilation terminated.
> make[3]: *** [/usr/src/ethercat-1.5.1/devices/8139too-2.6.35-ethercat.o]
> Error 1
> make[2]: *** [/usr/src/ethercat-1.5.1/devices] Error 2
> make[1]: *** [_module_/usr/src/ethercat-1.5.1] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.35.13'
> make: *** [modules] Error 2
>
>
>
> --
> Parthasarathy S
> C612 Sena Vihar
> Kammanahalli Main Road
> Bangalore 560043 India
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20120628/025172c0/attachment-0004.htm>


More information about the Etherlab-users mailing list