pluto_step.so not found on newer linuxcnc version
20 Apr 2020 16:42 #164872
by dinodf
pluto_step.so not found on newer linuxcnc version was created by dinodf
Dear,
I am using a Pluto_P card for my 10 year old machine, it has always worked well!
In these days I broke the PC and I installed a newer one, when I try to run linuxcnc it does not find the pluto_step.so file, I think I have to compile it from the .comp file, can someone explain to me how to do it?
I tried but I have errors
Thak you
I am using a Pluto_P card for my 10 year old machine, it has always worked well!
In these days I broke the PC and I installed a newer one, when I try to run linuxcnc it does not find the pluto_step.so file, I think I have to compile it from the .comp file, can someone explain to me how to do it?
I tried but I have errors
linuxcnc@linuxcnc:~/linuxcnc-master/src$ halcompile --install hal/drivers/pluto_step.comp
Compiling realtime pluto_step.c
In file included from pluto_step.c:14:0:
/home/linuxcnc/linuxcnc-master/src/hal/drivers/pluto_common.h:75:15: error: unknown type name ‘__u32’
static inline __u32 read32(void) {
^~~~~
hal/drivers/pluto_step.comp: In function ‘read’:
hal/drivers/pluto_step.comp:272:5: error: unknown type name ‘__u32’
hal/drivers/pluto_step.comp: At top level:
hal/drivers/pluto_step.comp:316:40: fatal error: hal/drivers/pluto_step_rbf.h: File o directory non esistente
compilation terminated.
/usr/share/linuxcnc/Makefile.modinc:113: set di istruzioni per l'obiettivo "pluto_step.o" non riuscito
make: *** [pluto_step.o] Errore 1
linuxcnc@linuxcnc:~/linuxcnc-master/src$
Thak you
Please Log in or Create an account to join the conversation.
21 Apr 2020 22:16 #165015
by dinodf
Replied by dinodf on topic pluto_step.so not found on newer linuxcnc version
I have resolved the problem
need toto create pluto_step_rbf.h from the pluto_step_firmware/pluto_step.rbf
then addat line 145 of pluto_step.comp file to avoid error: unknown type name ‘__u32’
then redofrom linuxcnc-2.8/src/
Enjoy
need to
cd linuxcnc-2.8/src/hal/drivers
python rbf2h.py pluto_step_firmware/pluto_step.rbf > pluto_step_rbf.h
then add
include <asm/types.h>;
then redo
halcompile --install hal/drivers/pluto_step.comp
Enjoy
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds