Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用ADF2.7,IDF5.2.2,编译例程wifi_bt_ble_coex报错 (AUD-5810) #1303

Closed
Victccmc opened this issue Oct 29, 2024 · 1 comment
Closed

Comments

@Victccmc
Copy link

报错信息如下:
M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex>idf.py build Executing action: all (aliases: build) Running ninja in directory M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex\build Executing "ninja all"... [1/1] cmd.exe /C "cd /D M:\03.esp32\...oex/build/bootloader/bootloader.bin" Bootloader binary size 0x6f10 bytes. 0xf0 bytes (1%) free. [2/4] Linking CXX executable wifi_bt_ble_coex.elf FAILED: wifi_bt_ble_coex.elf cmd.exe /C "cd . && M:\03.esp32\100.sdk\02.v522\.espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map=M:/03.esp32/10.HYSK2/03.code/01.demo/wifi_bt_ble_coex/build/wifi_bt_ble_coex.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32.peripherals.ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T memory.ld -T sections.ld @CMakeFiles\wifi_bt_ble_coex.elf.rsp -o wifi_bt_ble_coex.elf && cd ." M:/03.esp32/100.sdk/02.v522/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: M:/03.esp32/100.sdk/02.v522/.espressif/frameworks/esp-idf-v5.2.2/components/bt/controller/lib_esp32/esp32\libbtdm_app.a(lc_task.o):(.text.hci_enh_setup_sync_con_cmd_handler+0x0): undefined reference to lc_setup_sync_param_check'
M:/03.esp32/100.sdk/02.v522/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: M:/03.esp32/100.sdk/02.v522/.espressif/frameworks/esp-idf-v5.2.2/components/bt/controller/lib_esp32/esp32\libbtdm_app.a(lc_task.o): in function hci_enh_setup_sync_con_cmd_handler': lc_task.c:(.text.hci_enh_setup_sync_con_cmd_handler+0x1af): undefined reference to lc_setup_sync_param_check'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex\build\log\idf_py_stderr_output_11600 and M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex\build\log\idf_py_stdout_output_11600

M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex>
M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex>idf.py build
Executing action: all (aliases: build)
Running ninja in directory M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex\build
Executing "ninja all"...
[1/1] cmd.exe /C "cd /D M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coe...2/10.HYSK2/03.code/01.demo/wifi_bt_ble_coex/build/bootloader/bootloader.bin"
Bootloader binary size 0x6f10 bytes. 0xf0 bytes (1%) free.
[2/4] Linking CXX executable wifi_bt_ble_coex.elf
FAILED: wifi_bt_ble_coex.elf
cmd.exe /C "cd . && M:\03.esp32\100.sdk\02.v522.espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map=M:/03.esp32/10.HYSK2/03.code/01.demo/wifi_bt_ble_coex/build/wifi_bt_ble_coex.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32.peripherals.ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T memory.ld -T sections.ld @CMakeFiles\wifi_bt_ble_coex.elf.rsp -o wifi_bt_ble_coex.elf && cd ."
M:/03.esp32/100.sdk/02.v522/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: M:/03.esp32/100.sdk/02.v522/.espressif/frameworks/esp-idf-v5.2.2/components/bt/controller/lib_esp32/esp32\libbtdm_app.a(lc_task.o):(.text.hci_enh_setup_sync_con_cmd_handler+0x0): undefined reference to lc_setup_sync_param_check' M:/03.esp32/100.sdk/02.v522/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: M:/03.esp32/100.sdk/02.v522/.espressif/frameworks/esp-idf-v5.2.2/components/bt/controller/lib_esp32/esp32\libbtdm_app.a(lc_task.o): in function hci_enh_setup_sync_con_cmd_handler':
lc_task.c:(.text.hci_enh_setup_sync_con_cmd_handler+0x1af): undefined reference to `lc_setup_sync_param_check'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex\build\log\idf_py_stderr_output_28916 and M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex\build\log\idf_py_stdout_output_28916

M:\03.esp32\10.HYSK2\03.code\01.demo\wifi_bt_ble_coex>

libbtdm_app.a的版本是 I (2972) BTDM_INIT: BT controller compile version [f021fb7]`

@github-actions github-actions bot changed the title 使用ADF2.7,IDF5.2.2,编译例程wifi_bt_ble_coex报错 使用ADF2.7,IDF5.2.2,编译例程wifi_bt_ble_coex报错 (AUD-5810) Oct 29, 2024
@Victccmc
Copy link
Author

IDF和ADF更新到MASTER,就编译通过了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant