jzolee / HAL2UDP

External step generator and IO interface for LinuxCNC over Ethernet with dual-core ESP32 and W5500 modules.
GNU General Public License v2.0
19 stars 11 forks source link

Not able to compile udp.comp #1

Closed dlhenke closed 1 year ago

dlhenke commented 2 years ago

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 ..