Page 1 of 1

Problem vid installation på Arch från Source

Posted: Fri Mar 17, 2023 9:45 am
by Alex0
Hej,

Satt o försökte installera Telldus-core på min Arch dator, utan lycka..

cmake . funkar utmärkt och ger inga felmeddelande men när jag kör make får jag följande fel.

Code: Select all

Scanning dependencies of target telldus-common
[  2%] Building CXX object common/CMakeFiles/telldus-common.dir/Message.cpp.o
[  4%] Building CXX object common/CMakeFiles/telldus-common.dir/Mutex.cpp.o
[  6%] Building CXX object common/CMakeFiles/telldus-common.dir/Strings.cpp.o
[  9%] Building CXX object common/CMakeFiles/telldus-common.dir/Thread.cpp.o
[ 11%] Building CXX object common/CMakeFiles/telldus-common.dir/Socket_unix.cpp.o
/usr/src/telldus-core-2.0.104/common/Socket_unix.cpp: In destructor ‘virtual TelldusCore::Socket::~Socket()’:
/usr/src/telldus-core-2.0.104/common/Socket_unix.cpp:44:18: error: ‘close’ was not declared in this scope
make[2]: *** [common/CMakeFiles/telldus-common.dir/Socket_unix.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/telldus-common.dir/all] Error 2
make: *** [all] Error 2
Hjälp!

MVH
Alex0

Re: Problem vid installation på Arch från Source

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag