esp-iot-solution编译usb_camera_wifi_transfer报错

Moderator: ESP_Bob

zzf-zzf
Posts: 2
Joined: Fri Aug 05, 2022 3:26 am

esp-iot-solution编译usb_camera_wifi_transfer报错

Postby zzf-zzf » Fri Aug 05, 2022 3:30 am

FAILED: esp-idf/esp_usbh_cdc/CMakeFiles/__idf_esp_usbh_cdc.dir/esp_usbh_cdc.c.obj
/home/zzf/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc -Iconfig -I/home/zzf/esp32/esp-iot-solution/components/usb/esp_usbh_cdc/include -I/home/zzf/esp32/esp-idf/components/usb/private_include -I/home/zzf/esp32/esp-idf/components/newlib/platform_include -I/home/zzf/esp32/esp-idf/components/freertos/include -I/home/zzf/esp32/esp-idf/components/freertos/include/esp_additions/freertos -I/home/zzf/esp32/esp-idf/components/freertos/port/xtensa/include -I/home/zzf/esp32/esp-idf/components/freertos/include/esp_additions -I/home/zzf/esp32/esp-idf/components/esp_hw_support/include -I/home/zzf/esp32/esp-idf/components/esp_hw_support/include/soc -I/home/zzf/esp32/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/home/zzf/esp32/esp-idf/components/esp_hw_support/port/esp32s3/. -I/home/zzf/esp32/esp-idf/components/esp_hw_support/port/esp32s3/private_include -I/home/zzf/esp32/esp-idf/components/heap/include -I/home/zzf/esp32/esp-idf/components/log/include -I/home/zzf/esp32/esp-idf/components/lwip/include/apps -I/home/zzf/esp32/esp-idf/components/lwip/include/apps/sntp -I/home/zzf/esp32/esp-idf/components/lwip/lwip/src/include -I/home/zzf/esp32/esp-idf/components/lwip/port/esp32/include -I/home/zzf/esp32/esp-idf/components/lwip/port/esp32/include/arch -I/home/zzf/esp32/esp-idf/components/soc/include -I/home/zzf/esp32/esp-idf/components/soc/esp32s3/. -I/home/zzf/esp32/esp-idf/components/soc/esp32s3/include -I/home/zzf/esp32/esp-idf/components/hal/esp32s3/include -I/home/zzf/esp32/esp-idf/components/hal/include -I/home/zzf/esp32/esp-idf/components/hal/platform_port/include -I/home/zzf/esp32/esp-idf/components/esp_rom/include -I/home/zzf/esp32/esp-idf/components/esp_rom/include/esp32s3 -I/home/zzf/esp32/esp-idf/components/esp_rom/esp32s3 -I/home/zzf/esp32/esp-idf/components/esp_common/include -I/home/zzf/esp32/esp-idf/components/esp_system/include -I/home/zzf/esp32/esp-idf/components/esp_system/port/soc -I/home/zzf/esp32/esp-idf/components/esp_system/port/public_compat -I/home/zzf/esp32/esp-idf/components/xtensa/include -I/home/zzf/esp32/esp-idf/components/xtensa/esp32s3/include -I/home/zzf/esp32/esp-idf/components/driver/include -I/home/zzf/esp32/esp-idf/components/driver/esp32s3/include -I/home/zzf/esp32/esp-idf/components/esp_pm/include -I/home/zzf/esp32/esp-idf/components/esp_ringbuf/include -I/home/zzf/esp32/esp-idf/components/efuse/include -I/home/zzf/esp32/esp-idf/components/efuse/esp32s3/include -I/home/zzf/esp32/esp-idf/components/vfs/include -I/home/zzf/esp32/esp-idf/components/esp_wifi/include -I/home/zzf/esp32/esp-idf/components/esp_event/include -I/home/zzf/esp32/esp-idf/components/esp_netif/include -I/home/zzf/esp32/esp-idf/components/esp_eth/include -I/home/zzf/esp32/esp-idf/components/tcpip_adapter/include -I/home/zzf/esp32/esp-idf/components/esp_phy/include -I/home/zzf/esp32/esp-idf/components/esp_phy/esp32s3/include -I/home/zzf/esp32/esp-idf/components/esp_ipc/include -I/home/zzf/esp32/esp-idf/components/app_trace/include -I/home/zzf/esp32/esp-idf/components/esp_timer/include -I/home/zzf/esp32/esp-idf/components/usb/include -mlongcalls -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -O2 -fmacro-prefix-map=/home/zzf/esp32/esp-iot-solution/examples/usb/host/usb_camera_wifi_transfer=. -fmacro-prefix-map=/home/zzf/esp32/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/esp_usbh_cdc/CMakeFiles/__idf_esp_usbh_cdc.dir/esp_usbh_cdc.c.obj -MF esp-idf/esp_usbh_cdc/CMakeFiles/__idf_esp_usbh_cdc.dir/esp_usbh_cdc.c.obj.d -o esp-idf/esp_usbh_cdc/CMakeFiles/__idf_esp_usbh_cdc.dir/esp_usbh_cdc.c.obj -c /home/zzf/esp32/esp-iot-solution/components/usb/esp_usbh_cdc/esp_usbh_cdc.c
/home/zzf/esp32/esp-iot-solution/components/usb/esp_usbh_cdc/esp_usbh_cdc.c: In function '_usb_get_dev_desc':
/home/zzf/esp32/esp-iot-solution/components/usb/esp_usbh_cdc/esp_usbh_cdc.c:703:5: error: implicit declaration of function 'usb_print_device_descriptor'; did you mean 'usb_print_descriptors'? [-Werror=implicit-function-declaration]
usb_print_device_descriptor(dev_desc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
usb_print_descriptors
/home/zzf/esp32/esp-iot-solution/components/usb/esp_usbh_cdc/esp_usbh_cdc.c: In function '_usb_get_config_desc':
/home/zzf/esp32/esp-iot-solution/components/usb/esp_usbh_cdc/esp_usbh_cdc.c:754:5: error: implicit declaration of function 'usb_print_config_descriptor'; did you mean 'usb_print_descriptors'? [-Werror=implicit-function-declaration]
usb_print_config_descriptor(cfg_desc, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
usb_print_descriptors
cc1: some warnings being treated as errors
[6/200] Building C object esp-idf/expat/CMakeFiles/__idf_expat.dir/expat/expat/lib/xmltok.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Who is online

Users browsing this forum: No registered users and 15 guests