Hello everyone, I'm encountering a problem while compiling a HAL component (IOdecoder.c) for LinuxCNC on Debian Buster. The initial error is fatal error: rtapi_thread.h: No such file or directory.
We've identified that the rtapi_thread.h file is not present on my system, despite apt search linuxcnc-uspace-dev indicating that the linuxcnc-uspace-dev package is [installed,local]. When attempting to reinstall it with sudo apt reinstall linuxcnc-uspace-dev, I receive the error: "Reinstallation of linuxcnc-uspace-dev is not possible, it cannot be downloaded." The main issue appears to be apt's inability to connect to the LinuxCNC repository. When I run sudo apt update, I get the following crucial error: Err:X http://deb.linuxcnc.org buster-rt InRelease Could not connect to deb.linuxcnc.org:80 (127.0.0.1). - connect (111: Connection refused) It seems that deb.linuxcnc.org is resolving to 127.0.0.1 (localhost) instead of the remote public IP address of the LinuxCNC server. *I have already attempted the following steps without success:* - I corrected the line in my /etc/apt/sources.list to deb http://deb.linuxcnc.org/ buster-rt main. - I checked the /etc/hosts file (sudo nano /etc/hosts) and it does not contain any incorrect entries mapping deb.linuxcnc.org to 127.0.0.1. - I have run sudo apt clean and sudo apt update multiple times. - I attempted to install the linuxcnc-dev package (even though apt search indicates linuxcnc-uspace-dev is already present). Has anyone experienced a similar DNS resolution or connection issue for the LinuxCNC repository, or can you suggest further steps to diagnose why deb.linuxcnc.org is resolving to 127.0.0.1 and the connection is being refused? Thanks in advance for any help! Roberto _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users