[Slackbuilds-users] libindi-2.0.6 build fails
J. Milgram
milgram at cgpp.com
Tue Jun 30 23:17:15 UTC 2026
All,
Am upgrading to Stellarium 26.1. libindi comes up as a prerequisite.
This is on a fairly up-to-date Slack 64 15.0 system.
The libindi-2.0.6 build fails. Some of the relevant output seems to be:
[ 1%] Building C object libs/dsp/CMakeFiles/dsp.dir/fits.c.o
In file included from /tmp/SBo/indi-2.0.6/libs/sockets/tcpsocket.cpp:18:
/tmp/SBo/indi-2.0.6/libs/sockets/tcpsocket.h:78:57: error: ‘uint16_t’
has not been declared
78 | void connectToHost(const std::string &hostName,
uint16_t port);
| ^~~~~~~~
/tmp/SBo/indi-2.0.6/libs/sockets/tcpsocket.h:25:1: note: ‘uint16_t’ is
defined in header ‘<cstdint>’; this is probably fixable by adding
‘#include <cstdint>’
24 | #include "indimacros.h"
+++ |+#include <cstdint>
25 |
[ 1%] Building C object libs/indicore/CMakeFiles/indicore.dir/base64.c.o
/tmp/SBo/indi-2.0.6/libs/sockets/tcpsocket.cpp:342:6: error: no
declaration matches ‘void TcpSocket::connectToHost(const std::string&,
uint16_t)’
342 | void TcpSocket::connectToHost(const std::string &hostName,
uint16_t port)
| ^~~~~~~~~
/tmp/SBo/indi-2.0.6/libs/sockets/tcpsocket.h:78:14: note: candidate is:
‘void TcpSocket::connectToHost(const std::string&, int)’
78 | void connectToHost(const std::string &hostName,
uint16_t port);
| ^~~~~~~~~~~~~
/tmp/SBo/indi-2.0.6/libs/sockets/tcpsocket.h:27:7: note: ‘class
TcpSocket’ defined here
27 | class TcpSocket
| ^~~~~~~~~
[ 1%] Building C object libs/dsp/CMakeFiles/dsp.dir/file.c.o
make[2]: *** [libs/sockets/CMakeFiles/sockets.dir/build.make:76:
libs/sockets/CMakeFiles/sockets.dir/tcpsocket.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1831:
libs/sockets/CMakeFiles/sockets.dir/all] Error 2
Before I go down this rabbit hole ... is there a patch that I should
know about? Anyone else getting this, or just me?
thanks!
Judah
--
=====
milgram at cgpp.com
301-257-7069
More information about the SlackBuilds-users
mailing list