Error when trying to compile on archlinux
Posted: Fri Mar 17, 2023 9:45 am
[dan@Arch telldus-core-2.1.1]$ make
[ 2%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o
/home/dan/telldus-core-2.1.1/common/Socket_unix.cpp: In Destruktor »virtual TelldusCore::Socket::~Socket()«:
/home/dan/telldus-core-2.1.1/common/Socket_unix.cpp:44:18: Error: »close« was not defined in this range
make[2]: *** [common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/TelldusCommon.dir/all] Error 2
make: *** [all] Error 2
[dan@Arch telldus-core-2.1.1]$
What can I do here?
[ 2%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o
/home/dan/telldus-core-2.1.1/common/Socket_unix.cpp: In Destruktor »virtual TelldusCore::Socket::~Socket()«:
/home/dan/telldus-core-2.1.1/common/Socket_unix.cpp:44:18: Error: »close« was not defined in this range
make[2]: *** [common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/TelldusCommon.dir/all] Error 2
make: *** [all] Error 2
[dan@Arch telldus-core-2.1.1]$
What can I do here?