Lyckas inte kompilera Telldus Core för Fedora 17

Moderator: Telldus

Post Reply
niklas
Posts: 24
Joined: Fri Mar 17, 2023 9:45 am

Lyckas inte kompilera Telldus Core för Fedora 17

Post by niklas »

Efter uppgradering till Fedora 17 så lyckas jag inte kompilera Teldus Core. När jag kör make så ser det ut så här:

Code: Select all

[niklas@house telldus-core-2.1.1]$ sudo make
[  2%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event.cpp.o
[  4%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Message.cpp.o
[  6%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Mutex.cpp.o
[  8%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Strings.cpp.o
[ 10%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Thread.cpp.o
[ 12%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event_unix.cpp.o
[ 14%] Building CXX object common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o
[ 16%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o
/usr/src/telldus-core-2.1.1/common/Socket_unix.cpp: In destructor âvirtual TelldusCore::Socket::~Socket()â:
/usr/src/telldus-core-2.1.1/common/Socket_unix.cpp:44:18: error: âcloseâ was not declared in this scope
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
Det är förmodligen skit bakom spakarna men jag inser inte vad jag ska göra för att komma vidare.
Någon som har en ide?
mgn
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

Re: Lyckas inte kompilera Telldus Core för Fedora 17

Post by mgn »

niklas
Posts: 24
Joined: Fri Mar 17, 2023 9:45 am

Re: Lyckas inte kompilera Telldus Core för Fedora 17

Post by niklas »

Nu fungerade det direkt. Tackar!

Borde jag insett det själv?
Jag trodde att jag följde guiden.
niklas
Posts: 24
Joined: Fri Mar 17, 2023 9:45 am

Re: Lyckas inte kompilera Telldus Core för Fedora 17

Post by niklas »

Kan tillägga att jag behövde skapa filen /etc/ld.so.conf.d/tellduscore.conf med följande innehåll:

Code: Select all

/usr/local/lib
innan jag körde sudo ldconfig för att libbet ska hittas.

Nu ska jag försöka tända lampor.
Post Reply