[Slackbuilds-users] libindi-2.0.6 build fails

414N 414N at slacky.it
Wed Jul 1 08:07:20 UTC 2026


Il 01/07/26 01:17, J. Milgram via SlackBuilds-users ha scritto:
> [  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>

Hi Judah,

the error happens early in the build and sounds to me a basic issue 
regarding the c++ compiler or its configuration:

  - are you using something other than the stock gcc to compile the 
package (like clang)? Maybe a CC or CXX env variable override?
  - are you overriding any of the CFLAGS/CXXFLAGS, maybe something that 
changes the c++ standard version used for the build (like -std=c++14)?

I just tried rebuilding the libindi package on my system and it works ok.

PS: an upgrade to stellarium 26.2 is incoming ;-)


-- 
Alan Alberghini

SBo clone: https://github.com/414n/slackbuilds



More information about the SlackBuilds-users mailing list