[etherlab-dev] Compiling ethercat out of tree

Niklas Claesson nicke.claesson at gmail.com
Thu May 28 17:34:03 CEST 2015


Hi,

I'm trying to compile ethercat in another directory like this:

mkdir test
../ethercat-1.5.2/configure --with-pic --enable-generic --disable8139too
make

and I get the following error:

In file included from ../../ethercat-1.5.2/lib/common.c:41:0:
../../ethercat-1.5.2/lib/ioctl.h:44:26: fatal error: master/ioctl.h:
No such file or directory
#include "master/ioctl.h"

It works if I compile it in the same tree as the sources are in. Am I
doing something wrong?

Cheers
- Niklas



More information about the Etherlab-dev mailing list