Code: Select all
/home/dev/.espressif/tools/riscv32-esp-elf/esp-2022r1-RC1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/asio/libasio.a(asio.cpp.obj): in function `std::enable_if<std::is_error_code_enum<asio::error::basic_errors>::value, std::error_code&>::type std::error_code::operator=<asio::error::basic_errors>(asio::error::basic_errors)':
/home/dev/.espressif/tools/riscv32-esp-elf/esp-2022r1-RC1-11.2.0/riscv32-esp-elf/riscv32-esp-elf/include/c++/11.2.0/system_error:210: undefined reference to `if_nametoindex(char const*)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/main.elf.dir/build.make:506: main.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1936: CMakeFiles/main.elf.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make failed with exit code 2