Build error for example ASR

Dimych
Posts: 13
Joined: Tue Feb 05, 2019 6:09 am

Build error for example ASR

Postby Dimych » Wed Oct 07, 2020 3:38 pm

Hi,
not building example esp-adf esp-adf\examples\speech_recognition\asr

Windows
ESP-IDF v4.2-beta1-86-gdddcc2ede-dirty
ESP-ADF v2.1-67-gbafffc5-dirty

Please tell me how you can solve the problem?

Code: Select all

[1064/1067] Generating ld/esp32.project.ld
warning: the default selection ESP32_KORVO_DU1906_CODEC_TAS5805M (undefined) of <choice ESP32_KORVO_DU1906_DAC> (defined at C:/esp/esp-adf/components/audio_board/Kconfig.projbuild:27) is not contained in the choice
warning: the default selection SR_RUN_WM6_CORE1 (undefined) of <choice SR_RUN_WN6_CORE> (defined at C:/esp/esp-adf/components/esp-sr/Kconfig.projbuild:83) is not contained in the choice
warning: the default selection CONFIG_SR_MN1_MODEL_QUANT (undefined) of <choice SR_MN_MODEL_SEL> (defined at C:/esp/esp-adf/components/esp-sr/Kconfig.projbuild:100) is not contained in the choice
[1066/1067] Linking CXX executable speech_recognition_example.elf
FAILED: speech_recognition_example.elf
cmd.exe /C "cd . && C:\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe  -mlongcalls -Wno-frame-address   @CMakeFiles\speech_recognition_example.elf.rsp  -o speech_recognition_example.elf  && cd ."
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_destroy+0x8): undefined reference to `dl_matrixq_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_destroy+0xc): undefined reference to `dl_convq_queue_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_destroy+0x10): undefined reference to `sr_rb_unint'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_detect+0xc): undefined reference to `sr_rb_write'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_create+0x1c): undefined reference to `dl_convq_queue_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_create+0x20): undefined reference to `dl_matrixq_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_create+0x24): undefined reference to `sr_rb_init'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.add_speech_commands+0x14): undefined reference to `get_id_name'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_reset+0x0): undefined reference to `sr_rb_reset'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x18): undefined reference to `sr_rb_read'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x1c): undefined reference to `dl_convq_queue_push_by_qmf'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x20): undefined reference to `dl_dilation_layerq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x24): undefined reference to `dl_convq_lstm_layer'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x28): undefined reference to `dl_atrous_conv1dq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x2c): undefined reference to `dl_relu_convq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x30): undefined reference to `dl_convq_to_matrix2dq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x34): undefined reference to `dl_matrix2d_from_matrixq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o): in function `model_destroy':
/home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:257: undefined reference to `dl_matrixq_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:258: undefined reference to `dl_matrixq_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:259: undefined reference to `dl_matrixq_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:275: undefined reference to `dl_convq_queue_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:274: undefined reference to `dl_convq_queue_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:277: undefined reference to `dl_convq_queue_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:278: undefined reference to `dl_convq_queue_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:282: undefined reference to `sr_rb_unint'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o): in function `model_detect':
/home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:557: undefined reference to `sr_rb_write'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o): in function `model_create':
/home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:339: undefined reference to `dl_convq_queue_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:345: undefined reference to `dl_matrixq_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:347: undefined reference to `dl_matrixq_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:347: undefined reference to `dl_convq_queue_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:350: undefined reference to `dl_matrixq_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:351: undefined reference to `dl_convq_queue_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:352: undefined reference to `dl_convq_queue_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:356: undefined reference to `sr_rb_init'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o): in function `add_speech_commands':
/home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:216: undefined reference to `get_id_name'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o): in function `lvcsr_reset':
/home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:395: undefined reference to `sr_rb_reset'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o): in function `lvcsr_model_run_accelerate':
/home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:439: undefined reference to `sr_rb_read'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:452: undefined reference to `dl_convq_queue_push_by_qmf'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:456: undefined reference to `dl_dilation_layerq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:461: undefined reference to `dl_dilation_layerq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:466: undefined reference to `dl_dilation_layerq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:471: undefined reference to `dl_dilation_layerq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:483: undefined reference to `dl_convq_lstm_layer'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:487: undefined reference to `dl_atrous_conv1dq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:489: undefined reference to `dl_relu_convq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:492: undefined reference to `dl_atrous_conv1dq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:495: undefined reference to `dl_relu_convq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:498: undefined reference to `dl_atrous_conv1dq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:510: undefined reference to `dl_convq_to_matrix2dq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:510: undefined reference to `dl_matrix2d_from_matrixq'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:511: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:512: undefined reference to `dl_softmax'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:524: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/wangwangwang/workspace/AI/esp_sr_lib/components/multinet/multinet1_quantized_cn.c:524: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.model_destroy+0x0): undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x4): undefined reference to `dl_basic_conv_layer_quantised_weight'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x8): undefined reference to `dl_relu'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0xc): undefined reference to `dl_matrix_slice'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x10): undefined reference to `dl_basic_lstm_layer_quantised_weights'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x14): undefined reference to `dl_matrix_concat'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x18): undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x1c): undefined reference to `dl_fully_connect_layer'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x20): undefined reference to `dl_softmax'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):(.literal.wakeNet4_model_run+0x24): undefined reference to `dl_matrix_zero'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o): in function `model_destroy':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:106: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:107: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:108: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:109: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:110: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:111: more undefined references to `dl_matrix_free' follow
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o): in function `wakeNet4_model_run':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:239: undefined reference to `dl_basic_conv_layer_quantised_weight'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:240: undefined reference to `dl_relu'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:246: undefined reference to `dl_matrix_slice'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:247: undefined reference to `dl_basic_lstm_layer_quantised_weights'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:249: undefined reference to `dl_matrix_slice'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:250: undefined reference to `dl_basic_lstm_layer_quantised_weights'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:254: undefined reference to `dl_matrix_concat'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:255: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:256: undefined reference to `dl_fully_connect_layer'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:257: undefined reference to `dl_relu'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:260: undefined reference to `dl_fully_connect_layer'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:261: undefined reference to `dl_softmax'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:267: undefined reference to `dl_matrix_zero'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:268: undefined reference to `dl_matrix_zero'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:269: undefined reference to `dl_matrix_zero'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:270: undefined reference to `dl_matrix_zero'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:271: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:272: undefined reference to `dl_matrix_free'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o): in function `model_create':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:176: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:180: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:183: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:186: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:188: undefined reference to `dl_matrix_alloc'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(wakenet4_quantized.o):/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet4_quantized.c:190: more undefined references to `dl_matrix_alloc' follow
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o):(.literal.run_logfbank+0x0): undefined reference to `csf_preemphasis_step'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o):(.literal.run_logfbank+0x4): undefined reference to `csf_logfbank_HTK_step'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o):(.literal.run+0x0): undefined reference to `csf_mfcc_HTK'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o): in function `run_logfbank':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/mfcc_runner_straight.c:70: undefined reference to `csf_preemphasis_step'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/mfcc_runner_straight.c:72: undefined reference to `csf_logfbank_HTK_step'
c:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o): in function `run':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/mfcc_runner_straight.c:60: undefined reference to `csf_mfcc_HTK'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: Build error for example ASR

Postby jason.mao » Fri Oct 09, 2020 12:13 pm

Hi Dimych,

This issue is fixing. I think would be ok on next few days.

Who is online

Users browsing this forum: No registered users and 72 guests