Skip to content

Error when following steps from "Mosquitto Build Notes (Linux)" #3

@pionsys-mhs

Description

@pionsys-mhs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions