Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error (EHM-32) #29

Open
3 tasks done
e-sr opened this issue Feb 3, 2025 · 0 comments
Open
3 tasks done

compile error (EHM-32) #29

e-sr opened this issue Feb 3, 2025 · 0 comments
Labels
Status: Opened Issue is new

Comments

@e-sr
Copy link

e-sr commented Feb 3, 2025

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Following the documentation for spi full duplex transport Chapter 8 i expect to be able to compile host firmware starting from iperf example.
I did all steps like in Chapter 8

Actual behavior (suspected bug)

I tried with ESP32 and ESP32c6 as host, in both cases there are compile problem related to esp_wifi_remote
compiling managed_components/espressif__esp_wifi_remote/idf_v5.4/esp_wifi_remote_weak.c
missing definition of wifi_tx_rate_config_t

Error logs or terminal output

Executing action: all (aliases: build)
Running ninja in directory /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/build
Executing "ninja all"...
[1/301] Performing build step for 'bootloader'
[1/1] cd /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/build/bootloader/esp-idf/esptool_py && /home/enzo/.espressif/python_env/idf5.4_py3.11_env/bin/python /home/enzo/esp/v5.4/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/build/bootloader/bootloader.bin
Bootloader binary size 0x6be0 bytes. 0x420 bytes (4%) free.
[2/301] No install step for 'bootloader'
[3/301] Completed 'bootloader'
[4/301] Building C object esp-idf/espressif__esp_wifi_remote/CMakeFiles/__idf_espressif__esp_wifi_remote.dir/idf_v5.4/esp_wifi_remote_weak.c.obj
FAILED: esp-idf/espressif__esp_wifi_remote/CMakeFiles/__idf_espressif__esp_wifi_remote.dir/idf_v5.4/esp_wifi_remote_weak.c.obj 
/home/enzo/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.4-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/build/config -I/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/include -I/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/idf_v5.4/include -I/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/eppp -I/home/enzo/esp/v5.4/esp-idf/components/newlib/platform_include -I/home/enzo/esp/v5.4/esp-idf/components/freertos/config/include -I/home/enzo/esp/v5.4/esp-idf/components/freertos/config/include/freertos -I/home/enzo/esp/v5.4/esp-idf/components/freertos/config/xtensa/include -I/home/enzo/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/enzo/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/enzo/esp/v5.4/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/home/enzo/esp/v5.4/esp-idf/components/freertos/esp_additions/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/include/soc -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/include/soc/esp32 -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/dma/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/ldo/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/debug_probe/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/port/esp32/. -I/home/enzo/esp/v5.4/esp-idf/components/esp_hw_support/port/esp32/include -I/home/enzo/esp/v5.4/esp-idf/components/heap/include -I/home/enzo/esp/v5.4/esp-idf/components/heap/tlsf -I/home/enzo/esp/v5.4/esp-idf/components/log/include -I/home/enzo/esp/v5.4/esp-idf/components/soc/include -I/home/enzo/esp/v5.4/esp-idf/components/soc/esp32 -I/home/enzo/esp/v5.4/esp-idf/components/soc/esp32/include -I/home/enzo/esp/v5.4/esp-idf/components/soc/esp32/register -I/home/enzo/esp/v5.4/esp-idf/components/hal/platform_port/include -I/home/enzo/esp/v5.4/esp-idf/components/hal/esp32/include -I/home/enzo/esp/v5.4/esp-idf/components/hal/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_rom/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_rom/esp32/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_rom/esp32/include/esp32 -I/home/enzo/esp/v5.4/esp-idf/components/esp_rom/esp32 -I/home/enzo/esp/v5.4/esp-idf/components/esp_common/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_system/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_system/port/soc -I/home/enzo/esp/v5.4/esp-idf/components/esp_system/port/include/private -I/home/enzo/esp/v5.4/esp-idf/components/xtensa/esp32/include -I/home/enzo/esp/v5.4/esp-idf/components/xtensa/include -I/home/enzo/esp/v5.4/esp-idf/components/xtensa/deprecated_include -I/home/enzo/esp/v5.4/esp-idf/components/lwip/include -I/home/enzo/esp/v5.4/esp-idf/components/lwip/include/apps -I/home/enzo/esp/v5.4/esp-idf/components/lwip/include/apps/sntp -I/home/enzo/esp/v5.4/esp-idf/components/lwip/lwip/src/include -I/home/enzo/esp/v5.4/esp-idf/components/lwip/port/include -I/home/enzo/esp/v5.4/esp-idf/components/lwip/port/freertos/include -I/home/enzo/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include -I/home/enzo/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/enzo/esp/v5.4/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/enzo/esp/v5.4/esp-idf/components/esp_event/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_netif/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_wifi/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_wifi/include/local -I/home/enzo/esp/v5.4/esp-idf/components/esp_wifi/wifi_apps/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_wifi/wifi_apps/nan_app/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_phy/include -I/home/enzo/esp/v5.4/esp-idf/components/esp_phy/esp32/include -I/home/enzo/esp/v5.4/esp-idf/components/esp-tls -I/home/enzo/esp/v5.4/esp-idf/components/esp-tls/esp-tls-crypto -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/port/include -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/mbedtls/include -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/mbedtls/library -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I/home/enzo/esp/v5.4/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/home/enzo/esp/v5.4/esp-idf/components/vfs/include -I/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__eppp_link/include -mlongcalls -Wno-frame-address  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -O2 -fmacro-prefix-map=/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf=. -fmacro-prefix-map=/home/enzo/esp/v5.4/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/espressif__esp_wifi_remote/CMakeFiles/__idf_espressif__esp_wifi_remote.dir/idf_v5.4/esp_wifi_remote_weak.c.obj -MF esp-idf/espressif__esp_wifi_remote/CMakeFiles/__idf_espressif__esp_wifi_remote.dir/idf_v5.4/esp_wifi_remote_weak.c.obj.d -o esp-idf/espressif__esp_wifi_remote/CMakeFiles/__idf_espressif__esp_wifi_remote.dir/idf_v5.4/esp_wifi_remote_weak.c.obj -c /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/idf_v5.4/esp_wifi_remote_weak.c
In file included from /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/include/esp_wifi_remote.h:8,
                 from /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/idf_v5.4/esp_wifi_remote_weak.c:7:
/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/idf_v5.4/include/esp_wifi_remote_api.h:79:65: error: unknown type name 'wifi_tx_rate_config_t'; did you mean 'wifi_init_config_t'?
   79 | esp_err_t esp_wifi_remote_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~
      |                                                                 wifi_init_config_t
/home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/managed_components/espressif__esp_wifi_remote/idf_v5.4/esp_wifi_remote_weak.c:369:70: error: unknown type name 'wifi_tx_rate_config_t'; did you mean 'wifi_init_config_t'?
  369 | WEAK esp_err_t esp_wifi_remote_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config)
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~
      |                                                                      wifi_init_config_t
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/build/log/idf_py_stderr_output_26988 and /home/enzo/Documents/embedded/esp32/iperfhostesp32/iperf/build/log/idf_py_stdout_output_26988

Steps to reproduce the behavior

idf.py build

Project release version

idf 5.4

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu 22.04

Shell

Fish

Additional context

No response

@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 3, 2025
@github-actions github-actions bot changed the title compile error compile error (EHM-32) Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

2 participants