pluto_step.so not found on newer linuxcnc version

More
6 years 6 months ago #164872 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 :(
Code:
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 to join the conversation.

More
6 years 6 months ago #165015 by dinodf
I have resolved the problem ;-)
need to
Code:
cd linuxcnc-2.8/src/hal/drivers python rbf2h.py pluto_step_firmware/pluto_step.rbf > pluto_step_rbf.h
to create pluto_step_rbf.h from the pluto_step_firmware/pluto_step.rbf
then add
Code:
include <asm/types.h>;
at line 145 of pluto_step.comp file to avoid error: unknown type name ‘__u32’
then redo
Code:
halcompile --install hal/drivers/pluto_step.comp
from linuxcnc-2.8/src/

Enjoy

Please Log in to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum