ESP-BOX烧录factory_demo最后连接文件报错

wanyubin
Posts: 3
Joined: Sat Oct 29, 2022 8:13 am

ESP-BOX烧录factory_demo最后连接文件报错

Postby wanyubin » Sat Oct 29, 2022 8:26 am

-- Configuring done
-- Generating done
-- Build files have been written to: C:/esp/esp-box/examples/factory_demo/build
[411/501] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\esp\esp-box\examples\factory_demo\build\bootloader\esp-idf\esptool_py && C:\esp\esp-idf\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/frameworks/esp-idf-v4.4.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 C:/esp/esp-box/examples/factory_demo/build/bootloader/bootloader.bin"
Bootloader binary size 0x5690 bytes. 0x2970 bytes (32%) free.
[477/499] Running move model...
C:/esp/esp-box/examples/factory_demo/sdkconfig
C:/esp/esp-box/components/esp-sr/model
['hilexin8', 'hiesp8']
['mn4_5cn', 'mn5q8en']
Recommended model partition size: 8004KB
[497/499] Linking CXX executable factory_demo.elf
FAILED: factory_demo.elf
cmd.exe /C "cd . && C:\esp\esp-idf\tools\xtensa-esp32s3-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-g++.exe -mlongcalls @CMakeFiles\factory_demo.elf.rsp -o factory_demo.elf && cd ."
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/main/libmain.a(main.c.obj):(.literal.app_main+0x74): undefined reference to `file_iterator_new'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/main/libmain.a(main.c.obj):(.literal.app_main+0x78): undefined reference to `audio_player_new'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/main/libmain.a(main.c.obj): in function `app_main':
C:\esp\esp-box\examples\factory_demo\build/../main/main.c:109: undefined reference to `file_iterator_new'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\esp\esp-box\examples\factory_demo\build/../main/main.c:112: undefined reference to `audio_player_new'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/main/libmain.a(app_sr_handler.c.obj):(.literal.sr_handler_task+0x3c): undefined reference to `audio_player_resume'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/main/libmain.a(app_sr_handler.c.obj):(.literal.sr_handler_task+0x40): undefined reference to `audio_player_get_state'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/main/libmain.a(app_sr_handler.c.obj):(.literal.sr_handler_task+0x44): undefined reference to `audio_player_pause'

...
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\esp\esp-box\examples\factory_demo\build/../main/gui/ui_player.c:170: undefined reference to `audio_player_get_state'
c:/esp/esp-idf/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\esp\esp-box\examples\factory_demo\build/../main/gui/ui_player.c:249: undefined reference to `audio_player_callback_register'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
在论坛上看到说有可能是BOX子仓库缺失,重新拉取子仓库发现没有其他仓库更新,说明没有子仓库没有缺失,请问还有其他的解决办法吗
Attachments
factory烧录失败.png
factory烧录失败.png (110.66 KiB) Viewed 4356 times

Who is online

Users browsing this forum: No registered users and 5 guests