大家好:
ESP32-LyraTD-MSC调试实例speech_recognition\asr时遇到编译fail,看命令行最后一行,请问有没有知道这是什么原因的?
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[3/7] Performing build step for 'bootloader'
[0/1] Re-running CMake...
-- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32
-- Project version: v4.0.1-dirty
-- Building ESP-IDF components for target esp32
-- Adding linker script D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/bootloader/subproject/main/esp32.bootloader.ld
-- Adding linker script D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/bootloader/subproject/main/esp32.bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_rom esptool_py log main micro-ecc partition_table soc spi_flash xtensa
-- Component paths: D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/bootloader D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/bootloader_support D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/efuse D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp32 D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp_common D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esp_rom D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/esptool_py D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/log D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/bootloader/subproject/main D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/bootloader/subproject/components/micro-ecc D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/partition_table D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/soc D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/spi_flash D:/ESP-IDF/esp-idfversion/esp-idf-v4.0.1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/esp-adf/copy_example/asr/build/bootloader
ninja: no work to do.
[4/5] Linking CXX executable speech_recognition_example.elf
FAILED: speech_recognition_example.elf(异常处)
................
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/wakenet6_quantized.c:179: undefined reference to `dl_convq_queue_alloc'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o):(.literal.run_logfbank+0x4): undefined reference to `csf_preemphasis_step'(这个未定义是不是异常)
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o):(.literal.run_logfbank+0x8): undefined reference to `csf_logfbank_HTK_step'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o):(.literal.run+0x0): undefined reference to `csf_mfcc_HTK'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/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'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-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'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/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(异常退出)
ESP32-LyraTD-MSC调试实例speech_recognition\asr遇到编译fail
-
- Posts: 6
- Joined: Sun Jun 28, 2020 7:21 am
-
- Posts: 135
- Joined: Tue Apr 24, 2018 5:54 am
Re: ESP32-LyraTD-MSC调试实例speech_recognition\asr遇到编译fail
您可以再重新 gi t submodule update --init 后再尝试一下
Who is online
Users browsing this forum: Google [Bot] and 76 guests