乐鑫技术交流
直播中

李凤津

7年用户 988经验值
私信 关注
[问答]

eclipse编译出错是什么情况啊?

[1/421] cmd.exe /C "cd /D C:Usersthundeclipse-workspacehello_worldbuildbootloader && C:Usersthund.espressiftoolscmake3.16.4bincmake.exe --build ."

ninja: no work to do.

[2/419] ccache C:Usersthund.espressiftoolsxtensa-esp32-elfesp-2021r1-8.4.0xtensa-esp32-elfbinxtensa-esp32-elf-gcc.exe  -Iconfig -IC:/Users/thund/Desktop/esp-idf/components/newlib/platform_include -IC:/Users/thund/Desktop/esp-idf/components/newlib/priv_include -IC:/Users/thund/Desktop/esp-idf/components/freertos/include -IC:/Users/thund/Desktop/esp-idf/components/freertos/port/xtensa/include -IC:/Users/thund/Desktop/esp-idf/components/esp_hw_support/include -IC:/Users/thund/Desktop/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/thund/Desktop/esp-idf/components/heap/include -IC:/Users/thund/Desktop/esp-idf/components/log/include -IC:/Users/thund/Desktop/esp-idf/components/lwip/include/apps -IC:/Users/thund/Desktop/esp-idf/components/lwip/include/apps/sntp -IC:/Users/thund/Desktop/esp-idf/components/lwip/lwip/src/include -IC:/Users/thund/Desktop/esp-idf/components/lwip/port/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/thund/Desktop/esp-idf/components/soc/include -IC:/Users/thund/Desktop/esp-idf/components/soc/esp32/. -IC:/Users/thund/Desktop/esp-idf/components/soc/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/hal/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/hal/include -IC:/Users/thund/Desktop/esp-idf/components/esp_rom/include -IC:/Users/thund/Desktop/esp-idf/components/esp_rom/esp32 -IC:/Users/thund/Desktop/esp-idf/components/esp_common/include -IC:/Users/thund/Desktop/esp-idf/components/esp_system/include -IC:/Users/thund/Desktop/esp-idf/components/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/driver/include -IC:/Users/thund/Desktop/esp-idf/components/driver/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/esp_ringbuf/include -IC:/Users/thund/Desktop/esp-idf/components/efuse/include -IC:/Users/thund/Desktop/esp-idf/components/efuse/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/xtensa/include -IC:/Users/thund/Desktop/esp-idf/components/xtensa/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/espcoredump/include -IC:/Users/thund/Desktop/esp-idf/components/esp_timer/include -IC:/Users/thund/Desktop/esp-idf/components/esp_ipc/include -IC:/Users/thund/Desktop/esp-idf/components/esp_pm/include -IC:/Users/thund/Desktop/esp-idf/components/vfs/include -IC:/Users/thund/Desktop/esp-idf/components/esp_wifi/include -IC:/Users/thund/Desktop/esp-idf/components/esp_wifi/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/esp_event/include -IC:/Users/thund/Desktop/esp-idf/components/esp_netif/include -IC:/Users/thund/Desktop/esp-idf/components/esp_eth/include -IC:/Users/thund/Desktop/esp-idf/components/tcpip_adapter/include -IC:/Users/thund/Desktop/esp-idf/components/app_trace/include -mlongcalls -Wno-frame-address   -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 -Og -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.3" -DESP_PLATFORM -MD -MT esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj -MF esp-idfnewlibCMakeFiles__idf_newlib.dirnewlib_init.c.obj.d -o esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj   -c C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c

FAILED: esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj

ccache C:Usersthund.espressiftoolsxtensa-esp32-elfesp-2021r1-8.4.0xtensa-esp32-elfbinxtensa-esp32-elf-gcc.exe  -Iconfig -IC:/Users/thund/Desktop/esp-idf/components/newlib/platform_include -IC:/Users/thund/Desktop/esp-idf/components/newlib/priv_include -IC:/Users/thund/Desktop/esp-idf/components/freertos/include -IC:/Users/thund/Desktop/esp-idf/components/freertos/port/xtensa/include -IC:/Users/thund/Desktop/esp-idf/components/esp_hw_support/include -IC:/Users/thund/Desktop/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/thund/Desktop/esp-idf/components/heap/include -IC:/Users/thund/Desktop/esp-idf/components/log/include -IC:/Users/thund/Desktop/esp-idf/components/lwip/include/apps -IC:/Users/thund/Desktop/esp-idf/components/lwip/include/apps/sntp -IC:/Users/thund/Desktop/esp-idf/components/lwip/lwip/src/include -IC:/Users/thund/Desktop/esp-idf/components/lwip/port/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/thund/Desktop/esp-idf/components/soc/include -IC:/Users/thund/Desktop/esp-idf/components/soc/esp32/. -IC:/Users/thund/Desktop/esp-idf/components/soc/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/hal/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/hal/include -IC:/Users/thund/Desktop/esp-idf/components/esp_rom/include -IC:/Users/thund/Desktop/esp-idf/components/esp_rom/esp32 -IC:/Users/thund/Desktop/esp-idf/components/esp_common/include -IC:/Users/thund/Desktop/esp-idf/components/esp_system/include -IC:/Users/thund/Desktop/esp-idf/components/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/driver/include -IC:/Users/thund/Desktop/esp-idf/components/driver/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/esp_ringbuf/include -IC:/Users/thund/Desktop/esp-idf/components/efuse/include -IC:/Users/thund/Desktop/esp-idf/components/efuse/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/xtensa/include -IC:/Users/thund/Desktop/esp-idf/components/xtensa/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/espcoredump/include -IC:/Users/thund/Desktop/esp-idf/components/esp_timer/include -IC:/Users/thund/Desktop/esp-idf/components/esp_ipc/include -IC:/Users/thund/Desktop/esp-idf/components/esp_pm/include -IC:/Users/thund/Desktop/esp-idf/components/vfs/include -IC:/Users/thund/Desktop/esp-idf/components/esp_wifi/include -IC:/Users/thund/Desktop/esp-idf/components/esp_wifi/esp32/include -IC:/Users/thund/Desktop/esp-idf/components/esp_event/include -IC:/Users/thund/Desktop/esp-idf/components/esp_netif/include -IC:/Users/thund/Desktop/esp-idf/components/esp_eth/include -IC:/Users/thund/Desktop/esp-idf/components/tcpip_adapter/include -IC:/Users/thund/Desktop/esp-idf/components/app_trace/include -mlongcalls -Wno-frame-address   -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 -Og -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.3" -DESP_PLATFORM -MD -MT esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj -MF esp-idfnewlibCMakeFiles__idf_newlib.dirnewlib_init.c.obj.d -o esp-idf/newlib/CMakeFiles/__idf_newlib.dir/newlib_init.c.obj   -c C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c

C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c:85:6: error: 'struct syscall_stub_table' has no member named '_retarget_lock_init'; did you mean '_lock_init'?

     ._retarget_lock_init = &__retarget_lock_init,

      ^~~~~~~~~~~~~~~~~~~

      _lock_init

C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c:86:6: error: 'struct syscall_stub_table' has no member named '_retarget_lock_init_recursive'; did you mean '_lock_init_recursive'?

     ._retarget_lock_init_recursive = &__retarget_lock_init_recursive,

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      _lock_init_recursive

C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c:87:6: error: 'struct syscall_stub_table' has no member named '_retarget_lock_close'; did you mean '_lock_close'?

     ._retarget_lock_close = &__retarget_lock_close,

      ^~~~~~~~~~~~~~~~~~~~

      _lock_close

C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c:87:29: warning: initialization of 'void (*)(struct __lock **)' from incompatible pointer type 'void (*)(struct __lock *)' [-Wincompatible-pointer-types]

     ._retarget_lock_close = &__retarget_lock_close,

                             ^

C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c:87:29: note: (near initialization for 's_stub_table._lock_close')

C:/Users/thund/Desktop/esp-idf/components/newlib/newlib_init.c:88:6: error: 'struct syscall_stub_table' has no member named '_retarget_lock_close_recursive'; did you mean '_lock_close_recursive'?

     ._retarget_lock_close_recursive = &__retarget_lock_close_recursive,

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

更多回帖

发帖
×
20
完善资料,
赚取积分