Ethercat HAL driver

More
8 years 11 months ago #101608 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello Sirop, thanks for answering,

-lethercat is not here,
-libethercat is in / opt / etherlab / lib /

I have installed the system linuxcnc -stretch-uspace-i386-r9 core PR-PREEMPT

I install igh ethercat-hg
I edit the file / script / sysconfig / ethercat I add MAC and GENERIC
./bootstrap
./configure --disable-8139too --enable-generic --enable-sii-assign
make
make modules
make install
make modules_install
depmod
mkdir / etc / sysconfig
cp / opt / etherlab / etc / sysconfig / ethercat / etc / sysconfig / ethercat
ln -s /opt/etherlab/etc/init.d/ethercat /etc/init.d/ethercat
ln -s / opt / etherlab / bin / ethercat / usr / bin / etherc

./ethercat start
Done .... ok
ethercat master
Okay
ethercat Slave
Okay

Is there something wrong?
More
8 years 11 months ago #101612 by sirop
The following user(s) said Thank You: chimeno
More
8 years 11 months ago #101618 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello

in the directory / opt / etherlab / bin .. only one file called "ethercat"

Thank you
More
8 years 11 months ago #101641 by chimeno
Replied by chimeno on topic Ethercat HAL driver
hi Sirop,
  Sorry I misunderstood, added "-L / opt / etherlab / lib /, what library is?" -lethercat "? The same thing happens to me

Thank you
More
8 years 11 months ago #101647 by sirop
Replied by sirop on topic Ethercat HAL driver
So do you still have any problems when building linuxcnc-ethercat?
More
8 years 11 months ago - 8 years 11 months ago #101648 by chimeno
Replied by chimeno on topic Ethercat HAL driver

File Attachment:

File Name: realtime.c
File Size:1 KB

File Attachment:

File Name: realtime.c
File Size:1 KB
hi Sirop,
if i have a problem running linuxcnc 2.7 when it starts erro "dlopen: libeethercat.so.1: can not open shared object file: no such file or directory ..."

I attach the modified file realtime.mk, it compiles well with make, without errors.
Attachments:
Last edit: 8 years 11 months ago by chimeno.
Time to create page: 0.427 seconds
Powered by Kunena Forum