[etherlab-users] Problem building EtherCAT master on Ubuntu

Joachim Sällvin joachim.sallvin at corpowerocean.com
Wed Nov 28 13:44:48 CET 2018


Hi,

Just to follow up in case it helps someone else in the future.

We got it to work by following the steps on this web page
    https://github.com/UNIBO-GRABLab/cable_robot

The steps are quite similar to what we did, perhaps with the difference that we weren't building as root when it didn't work.

Regards,
Christian & Joachim

PS.  We got it working on both Ubuntu 16.04 and 18.04.  On 18.04
there's no command 'insserv', so the instructions in the Ethercat
documenation for systemd needs to be followed.



________________________________
Från: Joachim Sällvin
Skickat: den 20 november 2018 09:03:01
Till: etherlab-users at etherlab.org
Ämne: Problem building EtherCAT master on Ubuntu


Hi,

We get the following error when trying to build EtherCAT master 1.5.2 (cloned from mercurial):

make -C "/home/acte/kernel/linux-4.9.115" M="/home/acte/EtherCAT/ethercat-hg" modules
make[1]: Entering directory '/home/acte/kernel/linux-4.9.115'
make[3]: *** No rule to make target '/home/acte/EtherCAT/ethercat-hg/devices/generic.o', needed by '/home/acte/EtherCAT/ethercat-hg/devices/ec_generic.o'.  Stop.
scripts/Makefile.build:547: recipe for target '/home/acte/EtherCAT/ethercat-hg/devices' failed

This is after we have done:

    ./bootstrap

    ./configure --prefix=/usr/local/etherlab  --disable-8139too --enable-generic

    make all modules

This is on a machine with 18.04.1 LTS and the PREEMPT RT patch.

We are new to EtherLab so perhaps we're missing something obvious?

Regards,

Christian & Joachim


$ uname -a
Linux acte-DS-1000 4.9.115-rt93 #2 SMP PREEMPT RT Thu Nov 1 07:38:36 CET 2018 x86_64 x86_64 x86_64 GNU/Linux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20181128/b0555a5b/attachment-0004.htm>


More information about the Etherlab-users mailing list