Skip to content

linking error "undefined reference to secure_memcmp" with latest ESP-IDF. #3

@tschak909

Description

@tschak909

With the latest IDF, I get the following link error:

c:/users/thomc/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\fujinet-v1\esp-idf\libssh\liblibssh.a(chachapoly.o):(.literal.chacha20_poly1305_aead_decrypt+0x8): undefined reference to `secure_memcmp'
c:/users/thomc/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\fujinet-v1\esp-idf\libssh\liblibssh.a(chachapoly.o): in function `chacha20_poly1305_aead_decrypt':
C:\Users\thomc\Workspace\fujinet-platformio/components\libssh\libssh\src/chachapoly.c:157: undefined reference to `secure_memcmp'

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