完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
ESP-IDF 4.4.2
示例工程 examplesbluetoothbluedroidclassic_bta2dp_sink 在 ESP32 下编译正常,但是改为 S3 后,链接时报错,若干函数找不到。 我看了一下 sdkconfig.defaults 文件,里面很多选项,在切换到 S3 以后,menuconfig 里是没有的。 S3不支持 a2dp 吗?还是这个示例工程不兼容 S3 ? Code: Select all /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x38): undefined reference to `esp_bt_gap_register_callback' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x3c): undefined reference to `esp_avrc_ct_init' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x40): undefined reference to `esp_avrc_ct_register_callback' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x44): undefined reference to `esp_avrc_tg_init' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x48): undefined reference to `esp_avrc_tg_register_callback' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x4c): undefined reference to `esp_avrc_rn_evt_bit_mask_operation' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x50): undefined reference to `esp_avrc_tg_set_rn_evt_cap' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x54): undefined reference to `esp_a2d_sink_init' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x58): undefined reference to `esp_a2d_register_callback' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x5c): undefined reference to `esp_a2d_sink_register_data_callback' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.bt_av_hdl_stack_evt+0x60): undefined reference to `esp_bt_gap_set_scan_mode' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj):(.literal.app_main+0x38): undefined reference to `esp_bt_gap_set_pin' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj): in function `bt_av_hdl_stack_evt': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:107: undefined reference to `esp_bt_gap_register_callback' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:109: undefined reference to `esp_avrc_ct_init' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:110: undefined reference to `esp_avrc_ct_register_callback' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:111: undefined reference to `esp_avrc_tg_init' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:112: undefined reference to `esp_avrc_tg_register_callback' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:115: undefined reference to `esp_avrc_rn_evt_bit_mask_operation' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:116: undefined reference to `esp_avrc_tg_set_rn_evt_cap' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:118: undefined reference to `esp_a2d_sink_init' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:119: undefined reference to `esp_a2d_register_callback' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:120: undefined reference to `esp_a2d_sink_register_data_callback' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:123: undefined reference to `esp_bt_gap_set_scan_mode' /home/alee/.espressif/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: esp-idf/main/libmain.a(main.c.obj): in function `app_main': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/main.c:167: undefined reference to `esp_bt_gap_set_pin' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj):(.literal.bt_av_new_track+0x4): undefined reference to `esp_avrc_ct_send_metadata_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj):(.literal.bt_av_new_track+0x8): undefined reference to `esp_avrc_ct_send_register_notification_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj):(.literal.bt_av_hdl_avrc_ct_evt+0x20): undefined reference to `esp_avrc_ct_send_get_rn_capabilities_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj):(.literal.volume_set_by_local_host+0x18): undefined reference to `esp_avrc_tg_send_rn_rsp' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_hdl_a2d_evt': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:248: undefined reference to `esp_bt_gap_set_scan_mode' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:252: undefined reference to `esp_bt_gap_set_scan_mode' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_new_track': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:307: undefined reference to `esp_avrc_ct_send_metadata_cmd' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:107: undefined reference to `esp_avrc_rn_evt_bit_mask_operation' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:109: undefined reference to `esp_avrc_ct_send_register_notification_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_playback_changed': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:116: undefined reference to `esp_avrc_rn_evt_bit_mask_operation' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:118: undefined reference to `esp_avrc_ct_send_register_notification_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_play_pos_changed': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:125: undefined reference to `esp_avrc_rn_evt_bit_mask_operation' /home/alee/.espressif/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: /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:127: undefined reference to `esp_avrc_ct_send_register_notification_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_hdl_avrc_ct_evt': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:326: undefined reference to `esp_avrc_ct_send_get_rn_capabilities_cmd' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `volume_set_by_local_host': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:217: undefined reference to `esp_avrc_tg_send_rn_rsp' /home/alee/.espressif/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: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_hdl_avrc_tg_evt': /mnt/d/lib/esp-idf-v4.4/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_av.c:410: undefined reference to `esp_avrc_tg_send_rn_rsp' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ninja failed with exit code 1 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
920 浏览 1 评论
552浏览 6评论
461浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
445浏览 5评论
446浏览 4评论
417浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 05:48 , Processed in 0.872853 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号