idf.py build error: implicit declaration of function 'DHCP_REQUEST_BACKOFF_SEQUENCE' (IDFGH-14268) #15061
Closed
3 tasks done
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.1 v5.0 v5.3.2
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
$ idf.py build
Running cmake in directory /path/to/hello_world/build
Executing "cmake -G Ninja --warn-uninitialized /path/to/hello_world"...
Warn about uninitialized values.
-- Found Git: /usr/bin/git (found version "2.17.0")
-- Building empty aws_iot component due to configuration
-- Component names: ...
-- Component paths: ...
... (more lines of build system output)
[527/527] Generating hello_world.bin
esptool.py v2.3.1
Project build complete. To flash, run this command:
../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x10000 build/hello_world.bin build 0x1000 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin
or run 'idf.py -p PORT flash'
What is the actual behavior?
esp/esp-idf/components/lwip/lwip/src/core/ipv4/dhcp.c: In function 'dhcp_select':
esp/esp-idf/components/lwip/lwip/src/core/ipv4/dhcp.c:522:11: error: implicit declaration of function 'DHCP_REQUEST_BACKOFF_SEQUENCE'; did you mean 'DHCP_REQUEST_TIMEOUT_SEQUENCE'? [-Werror=implicit-function-declaration]
Steps to reproduce.
mkdir -p ~/esp
cd ~/esp
git clone --recursive https://github.com/espressif/esp-idf.git
cd ~/esp/esp-idf
./install.sh esp32,esp32s2
./install.sh all
export IDF_TOOLS_PATH="$HOME/required_idf_tools_path"
./install.sh
. ./export.sh
cd ~/esp
cp -r $IDF_PATH/examples/get-started/hello_world .
cd ~/esp/hello_world
idf.py set-target esp32
idf.py menuconfig
idf.py build
Build or installation Logs.
No response
More Information.
Macbook Apple M4 ver15.2
The text was updated successfully, but these errors were encountered: