Compiling results on Nvidia Jetson Nano
Posted: Friday 29 March 2019 19:29
Hello all,
I've just received my Jetson Nano and finished building/compiling Domoticz per instructions on the wiki.
Now I did see some warnings/errors during compilation, see also attached file. I know, I know, I should've read the wiki better and removed libboost before continuing, but I was unsure whether any of the pre installed nvidia software would also require it.
And some more errors. I'm just wondering, can any of these do any real harm? I've already fired it up and it seems to be working just fine..
Thanks in advance,
IceBlackz
edit: after running sudo apt update and upgrade on the default supplied firmware by Nvidia, the installed version of libboost is 1.65.1
I've just received my Jetson Nano and finished building/compiling Domoticz per instructions on the wiki.
Now I did see some warnings/errors during compilation, see also attached file. I know, I know, I should've read the wiki better and removed libboost before continuing, but I was unsure whether any of the pre installed nvidia software would also require it.
Code: Select all
[ 14%] Building C object MQTT/CMakeFiles/mqtt.dir/net_mosq.c.o
/home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c: In function ‘_mosquitto_net_cleanup’:
/home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:114:2: warning: ‘ERR_remove_state’ is deprecated [-Wdeprecated-declarations]
ERR_remove_state(0);
^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ui.h:13:0,
from /usr/include/openssl/engine.h:29,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:55:
/usr/include/openssl/err.h:248:1: note: declared here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c: In function ‘_mosquitto_socket_connect’:
/home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:428:4: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations]
mosq->ssl_ctx = SSL_CTX_new(TLSv1_2_client_method());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.h:28,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:57:
/usr/include/openssl/ssl.h:1638:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
^
/home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:430:4: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations]
mosq->ssl_ctx = SSL_CTX_new(TLSv1_1_client_method());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.h:28,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:57:
/usr/include/openssl/ssl.h:1632:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
^
/home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:432:4: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
mosq->ssl_ctx = SSL_CTX_new(TLSv1_client_method());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.h:28,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/net_mosq.c:57:
/usr/include/openssl/ssl.h:1626:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
^
[ 15%] Building C object MQTT/CMakeFiles/mqtt.dir/read_handle.c.o
Code: Select all
[ 18%] Building C object MQTT/CMakeFiles/mqtt.dir/tls_mosq.c.o
/home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.c: In function ‘_mosquitto_verify_certificate_hostname’:
/home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.c:130:5: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
data = ASN1_STRING_data(nval->d.dNSName);
^~~~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.c:29:
/usr/include/openssl/asn1.h:553:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.c:136:5: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
data = ASN1_STRING_data(nval->d.iPAddress);
^~~~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from /home/rootuser/Domoticz/dev-domoticz/MQTT/tls_mosq.c:29:
/usr/include/openssl/asn1.h:553:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
[ 18%] Building C object MQTT/CMakeFiles/mqtt.dir/util_mosq.c.o
Thanks in advance,
IceBlackz
edit: after running sudo apt update and upgrade on the default supplied firmware by Nvidia, the installed version of libboost is 1.65.1