durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ uname -r
4.19.0-21-rt-amd64
durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ sudo apt-get install linuxcnc-uspace-dev build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
linuxcnc-uspace-dev is already the newest version (1:2.8.2.11.g6a3d0a434).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ halcompile --install udp.comp
Compiling realtime udp.c
gcc: error: driver: No such file or directory
gcc: error: driver: No such file or directory
make: [/usr/share/linuxcnc/Makefile.modinc:115: udp.o] Error 1
durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ sudo halcompile --install udp.comp
Compiling realtime udp.c
gcc: error: driver: No such file or directory
gcc: error: driver: No such file or directory
make: [/usr/share/linuxcnc/Makefile.modinc:115: udp.o] Error 1
durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$
Problem solved..
u can't compile inside a directory with spaces ..
durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ uname -r 4.19.0-21-rt-amd64 durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ sudo apt-get install linuxcnc-uspace-dev build-essential Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version (12.6). linuxcnc-uspace-dev is already the newest version (1:2.8.2.11.g6a3d0a434). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ halcompile --install udp.comp Compiling realtime udp.c gcc: error: driver: No such file or directory gcc: error: driver: No such file or directory make: [/usr/share/linuxcnc/Makefile.modinc:115: udp.o] Error 1 durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$ sudo halcompile --install udp.comp Compiling realtime udp.c gcc: error: driver: No such file or directory gcc: error: driver: No such file or directory make: [/usr/share/linuxcnc/Makefile.modinc:115: udp.o] Error 1 durval@lcnc-rtos:~/HAL2UDP/LinuxCNC driver$
Problem solved.. u can't compile inside a directory with spaces ..