Contact Details
gojimmypi@gmail.com
Version
Latest master branch
Description
The cmake file for the Espressif wolfssl component for test and benchmark examples is missing the source file settings for those features in COMPONENT_SRCDIRS.
Reproduction steps
- Open the ESP-IDF/examples/wolfssl_benchmark with a fresh install of ESP-IDF (one that does not have a wolfssl component)
- Run wolfssl setup to install a new wolfssl component in the Espressif environment
- Compile the app with
idf.py build
- Observe compile error.
Relevant log output
...
/home/gojimmypi/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(helper.c.obj):(.literal.app_main+0x0): undefined reference to `wolfcrypt_benchmark_main'
/home/gojimmypi/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(helper.c.obj): in function `app_main':
/mnt/c/workspace/wolfssl/IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/build/../main/helper.c:178: undefined reference to `wolfcrypt_benchmark_main'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Contact Details
gojimmypi@gmail.com
Version
Latest master branch
Description
The cmake file for the Espressif wolfssl component for test and benchmark examples is missing the source file settings for those features in
COMPONENT_SRCDIRS.Reproduction steps
idf.py buildRelevant log output