- Posts: 295
- Thank you received: 125
Ethercat HAL driver
- chimeno
- Offline
- Elite Member
-
Less
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?
-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?
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
8 years 11 months ago #101612
by sirop
Replied by sirop on topic Ethercat HAL driver
I referred to
forum.linuxcnc.org/24-hal-components/223...ver?start=500#101305
.
The following user(s) said Thank You: chimeno
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
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
in the directory / opt / etherlab / bin .. only one file called "ethercat"
Thank you
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
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
Sorry I misunderstood, added "-L / opt / etherlab / lib /, what library is?" -lethercat "? The same thing happens to me
Thank you
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
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?
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
8 years 11 months ago - 8 years 11 months ago #101648
by chimeno
Replied by chimeno on topic Ethercat HAL driver
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.
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.
Last edit: 8 years 11 months ago by chimeno.
Time to create page: 0.427 seconds