- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Beckhoff ethercat 64 with bit linuxcnc, How to install.
Beckhoff ethercat 64 with bit linuxcnc, How to install.
- TheRoslyak
- Offline
- Elite Member
- Posts: 238
- Thank you received: 37
Please Log in or Create an account to join the conversation.
Maybe try one single motor driver config first. Then your problem is easyer to find.
Your xml is quite big at the moment.
Please Log in or Create an account to join the conversation.
demo@demo:~/linuxcnc-ethercat-master/src$ sudo make /***** sudo or not is the same messages*****/
make[1]: Entering directory '/home/demo/linuxcnc-ethercat-master/src'
user.mk:1: ../config.mk: No such file or directory
make[1]: *** No rule to make target '../config.mk'. Stop.
make[1]: Leaving directory '/home/demo/linuxcnc-ethercat-master/src'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
Some ideas about? (i use ubuntu 18.04 and Lcnc 2.9 rt-preemt).
Other things .... sittner have add patch for 2.8 Lcnc .... it works on 2.9 too?
regards
bkt
Please Log in or Create an account to join the conversation.
At page nr.1 you can see the same question:
forum.linuxcnc.org/27-driver-boards/3559...stall?start=0#122736
I can not install the linuxcnc-ethercat,
when I 'make', print "halcompile/comp ececutable not found or set"
Could you tell me why?
It looks like linuxcnc is not installed as run in place, did you installed the linuxcnc-dev version with all dependencies?
For me it's a long time ago i did the install, so that makes it harder to give the solution right away..
Good luck !
Please Log in or Create an account to join the conversation.
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>:3: waitpid failed /usr/bin/rtapi_app lcec
<stdin>:3: /usr/bin/rtapi_app exited without becoming ready
<stdin>:3: 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.
@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.
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.
demo @ demo: ~ / linuxcnc-ethercat-master / src $ sudo make / ***** sudo o no son los mismos mensajes ***** /
make [1]: Entrando en el directorio '/ home / demo / linuxcnc-ethercat-master / src'
user.mk:1: ../config.mk: no existe tal archivo o directorio
make [1]: *** No hay regla para hacer objetivo '../config.mk'. Detener.
make [1]: Saliendo del directorio '/ home / demo / linuxcnc-ethercat-master / src'
Makefile: 6: la receta para el objetivo 'todos' falló
make: *** [all] Error 2
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
/ linuxcnc-ethercat-master / src $ sudo make
/ linuxcnc-ethercat-master / sudo make
after the first compilation you can also do
make
/ src
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.
- 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.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Beckhoff ethercat 64 with bit linuxcnc, How to install.