ich compiliere Railcontrol auch für OpenWRT Systeme. OpenWRT nutzt musl als libc, bei der manche Includes etwas anders (strenger) aufgebaut sind. Bei der aktuellen Version habe ich ein Problem bei der Compilierung. Mit folgendem Patch lässt sich das beheben:
Code: Select all
diff --git a/Network/TcpClient.cpp b/Network/TcpClient.cpp
index 95e6d1e..677f679 100644
--- a/Network/TcpClient.cpp
+++ b/Network/TcpClient.cpp
@@ -21,6 +21,7 @@ along with RailControl; see the file LICENCE. If not see
#include <fcntl.h>
#include <netinet/in.h>
#include <string.h>
+#include <sys/select.h>
#include "Network/TcpClient.h"
Gruß
Gerd