Skip to content

Can't use Esp32MQTTClient_Init() #23

@96kaitlinburke

Description

@96kaitlinburke

When I try to run Esp32MQTTClient_Init(), I get the following error message:

/Users/xxxxxx/Documents/Arduino/libraries/ESP32_AzureIoT_Arduino/src/az_iot/c-utility/src/constbuffer.c:143: undefined reference to \'__sync_sub_and_fetch_4\' collect2: error: ld returned 1 exit status exit status 1 Error compiling for board ESP32S2 Dev Module.

From googling this error, this issue seems to come up when compiling for ARM, but there's no reason it should be doing for an ESP32. What's happening here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions