Hi,
i was following the steps from https://github.com/bapowell/bapowell.github.io/wiki/Mosquitto-Build-Notes-(Linux) an encountered a few problems:
First, when downloading the "libwebsockets" source from the provided links (i tested both) the archive cannot be unpacked. - This is not that bad because the sources can be downloaded from github directly.
The second, fatal error is the following: When executing the step "Compile mosquitto - make" I get the following error:
read_handle_server.c:351:77: error: dereferencing pointer to incomplete type ‘X509_NAME_ENTRY {aka struct X509_name_entry_st}’ context->username = _mosquitto_strdup((char *)ASN1_STRING_data(name_entry->value)); ^~ Makefile:54: recipe for target 'read_handle_server.o' failed make[1]: *** [read_handle_server.o] Error 1
A "make clean" did not resolve this error.
Hi,
i was following the steps from https://github.com/bapowell/bapowell.github.io/wiki/Mosquitto-Build-Notes-(Linux) an encountered a few problems:
First, when downloading the "libwebsockets" source from the provided links (i tested both) the archive cannot be unpacked. - This is not that bad because the sources can be downloaded from github directly.
The second, fatal error is the following: When executing the step "Compile mosquitto - make" I get the following error:
read_handle_server.c:351:77: error: dereferencing pointer to incomplete type ‘X509_NAME_ENTRY {aka struct X509_name_entry_st}’ context->username = _mosquitto_strdup((char *)ASN1_STRING_data(name_entry->value)); ^~ Makefile:54: recipe for target 'read_handle_server.o' failed make[1]: *** [read_handle_server.o] Error 1A "make clean" did not resolve this error.