Compilation error Telldus-core-2.1.1
Posted: Fri Mar 17, 2023 9:45 am
HI,
I try to compile telldus-core-2.1.1 on archlinux but I get this error:
/telldus-core-2.1.1/common/Socket_unix.cpp: In destructor virtual TelldusCore::Socket::~Socket()
/telldus-core-2.1.1/common/Socket_unix.cpp:44:18: erreur: close was not declared in this scope
The code in Socket_unix.cpp
Socket::~Socket(void) {
if(d->socket){
close(d->socket);
}
delete d;
}
I'm on Archlinux 3.1.10-11-ARCH on armv5tel
any idea ?
I try to compile telldus-core-2.1.1 on archlinux but I get this error:
/telldus-core-2.1.1/common/Socket_unix.cpp: In destructor virtual TelldusCore::Socket::~Socket()
/telldus-core-2.1.1/common/Socket_unix.cpp:44:18: erreur: close was not declared in this scope
The code in Socket_unix.cpp
Socket::~Socket(void) {
if(d->socket){
close(d->socket);
}
delete d;
}
I'm on Archlinux 3.1.10-11-ARCH on armv5tel
any idea ?