完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
环境: Ubuntu20.04
ESP-IDF的测试程序hello_world编译烧录都没有问题 ESP-ADF下的demo play_mp3编译失败,错误信息如下: Code: Select all mint@linux:/opt/work/esp32/play_mp3$ idf.py build Executing action: all (aliases: build) Running ninja in directory /opt/work/esp32/play_mp3/build Executing "ninja all"... [1/5] Performing build step for 'bootloader' ninja: no work to do. [2/3] Linking CXX executable play_mp3.elf FAILED: play_mp3.elf : && /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address CMakeFiles/play_mp3.elf.dir/project_elf_src.c.obj -o play_mp3.elf esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/asio/libasio.a esp-idf/cbor/libcbor.a esp-idf/coap/libcoap.a esp-idf/console/libconsole.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc_cal/libesp_adc_cal.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/mdns/libmdns.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp_websocket_client/libesp_websocket_client.a esp-idf/expat/libexpat.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/fatfs/libfatfs.a esp-idf/freemodbus/libfreemodbus.a esp-idf/jsmn/libjsmn.a esp-idf/json/libjson.a esp-idf/libsodium/liblibsodium.a esp-idf/mqtt/libmqtt.a esp-idf/openssl/libopenssl.a esp-idf/spiffs/libspiffs.a esp-idf/ulp/libulp.a esp-idf/unity/libunity.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/audio_sal/libaudio_sal.a esp-idf/adf_utils/libadf_utils.a esp-idf/esp-sr/libesp-sr.a esp-idf/esp-adf-libs/libesp-adf-libs.a esp-idf/audio_pipeline/libaudio_pipeline.a esp-idf/display_service/libdisplay_service.a esp-idf/esp_dispatcher/libesp_dispatcher.a esp-idf/esp_peripherals/libesp_peripherals.a esp-idf/audio_hal/libaudio_hal.a esp-idf/audio_board/libaudio_board.a esp-idf/wifi_service/libwifi_service.a esp-idf/dueros_service/libdueros_service.a esp-idf/esp_actions/libesp_actions.a esp-idf/tone_partition/libtone_partition.a esp-idf/audio_stream/libaudio_stream.a esp-idf/battery_service/libbattery_service.a esp-idf/bluetooth_service/libbluetooth_service.a esp-idf/coredump_upload_service/libcoredump_upload_service.a esp-idf/esp_event_cast/libesp_event_cast.a esp-idf/input_key_service/libinput_key_service.a esp-idf/ota_service/libota_service.a esp-idf/playlist/libplaylist.a esp-idf/main/libmain.a -Wl,--cref -Wl,--Map=/opt/work/esp32/play_mp3/build/play_mp3.map -fno-rtti -fno-lto esp-idf/asio/libasio.a esp-idf/cbor/libcbor.a esp-idf/coap/libcoap.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_hid/libesp_hid.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp_websocket_client/libesp_websocket_client.a esp-idf/expat/libexpat.a esp-idf/freemodbus/libfreemodbus.a esp-idf/libsodium/liblibsodium.a esp-idf/mqtt/libmqtt.a esp-idf/openssl/libopenssl.a esp-idf/unity/libunity.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/protocomm/libprotocomm.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/mdns/libmdns.a esp-idf/json/libjson.a esp-idf/adf_utils/libadf_utils.a esp-idf/jsmn/libjsmn.a esp-idf/battery_service/libbattery_service.a esp-idf/bluetooth_service/libbluetooth_service.a esp-idf/coredump_upload_service/libcoredump_upload_service.a esp-idf/esp_event_cast/libesp_event_cast.a esp-idf/input_key_service/libinput_key_service.a esp-idf/ota_service/libota_service.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/audio_stream/libaudio_stream.a esp-idf/tone_partition/libtone_partition.a esp-idf/wifi_service/libwifi_service.a esp-idf/esp_actions/libesp_actions.a esp-idf/wifi_service/libwifi_service.a esp-idf/esp_actions/libesp_actions.a -L/opt/software/esp32/esp-adf/components/wifi_service/airkiss_config -lairkiss_aes esp-idf/dueros_service/libdueros_service.a esp-idf/display_service/libdisplay_service.a esp-idf/esp_peripherals/libesp_peripherals.a esp-idf/audio_hal/libaudio_hal.a esp-idf/audio_board/libaudio_board.a esp-idf/display_service/libdisplay_service.a esp-idf/esp_peripherals/libesp_peripherals.a esp-idf/audio_hal/libaudio_hal.a esp-idf/audio_board/libaudio_board.a esp-idf/console/libconsole.a esp-idf/esp_adc_cal/libesp_adc_cal.a esp-idf/fatfs/libfatfs.a esp-idf/sdmmc/libsdmmc.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/spiffs/libspiffs.a esp-idf/esp-adf-libs/libesp-adf-libs.a esp-idf/audio_pipeline/libaudio_pipeline.a /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_audio/lib/esp32/libesp_audio.a esp-idf/esp-adf-libs/libesp-adf-libs.a esp-idf/audio_pipeline/libaudio_pipeline.a /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_audio/lib/esp32/libesp_audio.a esp-idf/esp-sr/libesp-sr.a -L /opt/software/esp32/esp-adf/components/esp-sr/lib -L /opt/software/esp32/esp-adf/components/esp-sr/wake_word_engine -L /opt/software/esp32/esp-adf/components/esp-sr/speech_command_recognition -L /opt/software/esp32/esp-adf/components/esp-sr/acoustic_algorithm -ldl_lib -lc_speech_features -lwakenet -lhilexin_wn3 -lhilexin_wn4 -lhilexin_wn5 -lhilexin_wn5X2 -lhilexin_wn5X3 -lhijeson_wn5X3 -lnihaoxiaozhi_wn5 -lnihaoxiaozhi_wn5X2 -lnihaoxiaozhi_wn5X3 -lnihaoxiaoxin_wn6 -lnihaoxiaoxin_wn5X3 -lcustomized_word_wn5 -lcustomized_word_wn6 -lmultinet -lmultinet1_ch -lmultinet1_en -lesp_audio_processor -L /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_audio/lib/esp32 -L /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_codec/lib/esp32 -L /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_ssdp/lib/esp32 -L /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_upnp/lib/esp32 -L /opt/software/esp32/esp-adf/components/esp-adf-libs/esp_sip/lib/esp32 -L /opt/software/esp32/esp-adf/components/esp-adf-libs/recorder_engine/lib/esp32 -Wl,--start-group -lesp_processing -lesp-aac -lesp-amr -lesp-amrwbenc -lesp-flac -lesp_ssdp-v4x -lesp-ogg-container -lesp-opus -lesp-tremor -lesp_sip-v4x -lesp_upnp -lesp-mp3 -lcodec-utils -lesp-g711 -lrecorder_engine -Wl,--end-group -L/opt/software/esp32/esp-adf/components/audio_hal/driver/zl38063/firmware -lfirmware esp-idf/esp_dispatcher/libesp_dispatcher.a -L/opt/software/esp32/esp-adf/components/clouds/dueros/lightduer -lduer-device-v4x esp-idf/playlist/libplaylist.a esp-idf/audio_sal/libaudio_sal.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcore.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libpp.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/librtc.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libphy.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcore.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libpp.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/librtc.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libphy.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcore.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libpp.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/librtc.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libphy.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libcore.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libpp.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/librtc.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32/libphy.a /opt/software/esp32/esp-idf/components/xtensa/esp32/libhal.a -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u ld_include_panic_highint_hdl -u start_app -u start_app_other_cores -L /opt/software/esp32/esp-idf/components/esp_rom/esp32/ld -T esp32.rom.newlib-time.ld -T esp32.rom.api.ld -T esp32.rom.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-funcs.ld -u vfs_include_syscalls_impl -L /opt/software/esp32/esp-idf/components/esp_wifi/lib/esp32 -L /opt/work/esp32/play_mp3/build/esp-idf/esp32 -T esp32_out.ld -L /opt/work/esp32/play_mp3/build/esp-idf/esp32/ld -T esp32.project.ld -L /opt/software/esp32/esp-idf/components/esp32/ld -T esp32.peripherals.ld -u call_user_start_cpu0 -Wl,--gc-sections -Wl,--undefined=uxTopUsedPriority -u app_main -lm esp-idf/newlib/libnewlib.a -u newlib_include_locks_impl -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -lgcc -u __cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -u __cxx_fatal_exception esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/app_trace/libapp_trace.a -lgcov -lc && : /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj):(.literal.es_read_reg+0x4): undefined reference to `i2c_bus_read_bytes' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj):(.literal.es_write_reg+0x0): undefined reference to `i2c_bus_write_bytes' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj):(.literal.es8388_deinit+0x0): undefined reference to `i2c_bus_delete' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj):(.literal.i2c_init+0x8): undefined reference to `i2c_bus_create' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj): in function `es_read_reg': /opt/software/esp32/esp-adf/components/audio_hal/driver/es8388/es8388.c:63: undefined reference to `i2c_bus_read_bytes' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj): in function `es_write_reg': /opt/software/esp32/esp-adf/components/audio_hal/driver/es8388/es8388.c:58: undefined reference to `i2c_bus_write_bytes' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj): in function `es8388_deinit': /opt/software/esp32/esp-adf/components/audio_hal/driver/es8388/es8388.c:235: undefined reference to `i2c_bus_delete' /opt/software/esp32/tools/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/audio_hal/libaudio_hal.a(es8388.c.obj): in function `i2c_init': /opt/software/esp32/esp-adf/components/audio_hal/driver/es8388/es8388.c:76: undefined reference to `i2c_bus_create' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ninja failed with exit code 1 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1153 浏览 1 评论
584浏览 6评论
480浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
465浏览 5评论
466浏览 4评论
441浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 21:24 , Processed in 1.024596 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号