[1242/1243] Linking CXX executable record_wav.elf
FAILED: record_wav.elf
cmd.exe /C "cd . && C:\PROGRA~1\XTENSA~1\XTENSA~1\bin\XT1FE9~1.EXE -mlongcalls -Wno-frame-address @CMakeFiles\record_wav.elf.rsp -o record_wav.elf && cd ."
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.get_name_from_eir+0x0): undefined reference to `esp_bt_gap_resolve_eir_data'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.filter_inquiry_scan_result+0x1c): undefined reference to `esp_bt_gap_cancel_discovery'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bt_app_gap_cb+0x2c): undefined reference to `esp_a2d_source_connect'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bt_app_gap_cb+0x30): undefined reference to `esp_bt_gap_start_discovery'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bt_app_gap_cb+0x34): undefined reference to `esp_bt_gap_pin_reply'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bt_a2d_source_cb+0x24): undefined reference to `esp_bt_gap_set_scan_mode'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bt_a2d_source_cb+0x28): undefined reference to `esp_a2d_media_ctrl'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x54): undefined reference to `esp_avrc_ct_init'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x58): undefined reference to `esp_avrc_ct_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x5c): undefined reference to `esp_a2d_sink_init'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x60): undefined reference to `esp_a2d_sink_register_data_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x64): undefined reference to `esp_a2d_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x68): undefined reference to `esp_bt_gap_set_pin'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x6c): undefined reference to `esp_bt_gap_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x70): undefined reference to `esp_a2d_source_register_data_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj):(.literal.bluetooth_service_start+0x74): undefined reference to `esp_a2d_source_init'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj): in function `get_name_from_eir':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:228: undefined reference to `esp_bt_gap_resolve_eir_data'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:230: undefined reference to `esp_bt_gap_resolve_eir_data'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj): in function `filter_inquiry_scan_result':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:296: undefined reference to `esp_bt_gap_cancel_discovery'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj): in function `bt_app_gap_cb':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:374: undefined reference to `esp_a2d_source_connect'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:378: undefined reference to `esp_bt_gap_start_discovery'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:399: undefined reference to `esp_bt_gap_pin_reply'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:403: undefined reference to `esp_bt_gap_pin_reply'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj): in function `bt_a2d_source_cb':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:434: undefined reference to `esp_bt_gap_set_scan_mode'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:443: undefined reference to `esp_a2d_media_ctrl'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:452: undefined reference to `esp_a2d_media_ctrl'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj): in function `bluetooth_service_start':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:506: undefined reference to `esp_avrc_ct_init'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:506: undefined reference to `esp_avrc_ct_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:511: undefined reference to `esp_a2d_sink_init'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:511: undefined reference to `esp_a2d_sink_register_data_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:514: undefined reference to `esp_a2d_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:521: undefined reference to `esp_bt_gap_set_pin'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:523: undefined reference to `esp_a2d_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:525: undefined reference to `esp_bt_gap_register_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:526: undefined reference to `esp_a2d_source_register_data_callback'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:526: undefined reference to `esp_a2d_source_init'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:546: undefined reference to `esp_bt_gap_start_discovery'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:546: undefined reference to `esp_bt_gap_set_scan_mode'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bluetooth_service.c.obj): in function `periph_bluetooth_stop':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bluetooth_service.c:698: undefined reference to `esp_a2d_media_ctrl'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bt_keycontrol.c.obj):(.literal.key_act_state_hdl_idle+0x18): undefined reference to `esp_avrc_ct_send_passthrough_cmd'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bt_keycontrol.c.obj): in function `key_act_state_hdl_idle':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bt_keycontrol.c:129: undefined reference to `esp_avrc_ct_send_passthrough_cmd'
c:/progra~1/xtensa~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/bluetooth_service/libbluetooth_service.a(bt_keycontrol.c.obj): in function `key_act_state_hdl_press':
C:/Users/baps/Desktop/esp/esp-adf/components/bluetooth_service/bt_keycontrol.c:149: undefined reference to `esp_avrc_ct_send_passthrough_cmd'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
I am trying to connect i2s_stream_raeder and ble_stream_writer in esp32 lyraT board. but i am facing above issue. My code compiled but facing issue during linking. Is there any solution.
Linking Error ESP-adf
-
- Posts: 9
- Joined: Sat Jun 26, 2021 1:42 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 12 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.