- Posts: 153
- Thank you received: 26
Beckhoff ethercat 64 with bit linuxcnc, How to install.
- Nico2017
- Offline
- Premium Member
-
are you sure you got the right header installed with your real time linux?
Otherwise try this:
This first step is required to make the ethercat+linuxcnc work, as indicated by @Hawkeye in forum.linuxcnc.org/24-hal-components/223...ver?start=670#123888 . On my case this is required to avoid the error while launching linuxcnc with ethercat:
<stdin>: waitpid failed /usr/bin/rtapi_app lcec
<stdin>: /usr/bin/rtapi_app exited without becoming ready
<stdin>: insmod for lcec failed, returned -1
Go to the directory where you have been cloning the git linuxcnc-ethercat. Mine is in ~/linuxcnc-ethercat.
cd ~/linuxcnc-ethercat
gedit ~/linuxcnc-ethercat/src/lcec_main.c
edit this file adding #include "rtapi_mutex.h" below #include "rtapi_app.h" then save and close gedit.
as written on page 4 steps of this thread.
For this make, try also without sudo.
Nicolas
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
@Nico2017 ...thanks but these trick not solve my problem because i can launch "make" proces only inside forlder: ***/linuxcnc-ethercat-master/src .... file user.mk -include ../config.mk .... but config.mk not exist. Exist on ***/linuxcnc-ethercat-master folder, but not sure is the same .... ... I try to copy and rename it ......
regards
bkt
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
because now i try to run "make" on folder ~/linuxcnc-ethercat-master and I can see the error mentioned by Nico2017 .... so if never find halcompile/comp ..... probabily is because is not in the right folder. Is these right?
regards
bkt
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
I do not know if you have solved the problem, but this simply means that you are not in the correct location, you are doing
after the first compilation you can also do
if they also work in 2.9Other things .... sittner have add patch for 2.8 Lcnc .... it works on 2.9 too?
Greeting
Chimeno
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
- linuxcnc-dev 2.9 is installed and work on real machinery.
- Install ec-debianize is done, I can set my mac adress etc etc
- Install linuxcnc-ethercat ... these is a problem, if try to launch these command: $ cd linuxcnc-ethercat/ => make .... make process not find halcomp file ...... but i use Grotius guide on page 1, reply 2 of these thread
Any one have these problem? Only depends from Linuxcnc-dev versions 2.9 instead 2.8?
regards
bkt
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Offline
- Elite Member
-
- Posts: 238
- Thank you received: 37
Please Log in or Create an account to join the conversation.
: waitpid failed /usr/bin/rtapi_app lcec