Open rinstrum-franz opened 9 months ago
Hello, due to the fact that a part of the idf's lwip component hasn't been updated yet, we have created a patch. This patch will be applied to the lwip component within the iot_bridge component's CMake. If this patch has already been applied or if lwip has been modified in some other way, you might encounter the errors mentioned above. If you can ensure that the lwip patch has been applied, you can disregard the errors mentioned earlier.
execute_process(COMMAND
git apply ${CMAKE_CURRENT_LIST_DIR}/patch/ip4_forward.patch
WORKING_DIRECTORY $ENV{IDF_PATH}/components/lwip/lwip/)
understand.
Am Di., 8. Aug. 2023 um 04:48 Uhr schrieb Tian Sen Wen < @.***>:
Hello, due to the fact that a part of the idf's lwip component hasn't been updated yet, we have created a patch. This patch will be applied to the lwip component within the iot_bridge component's CMake. If this patch has already been applied or if lwip has been modified in some other way, you might encounter the errors mentioned above. If you can ensure that the lwip patch has been applied, you can disregard the errors mentioned earlier.
execute_process(COMMAND git apply ${CMAKE_CURRENT_LIST_DIR}/patch/ip4_forward.patch WORKING_DIRECTORY $ENV{IDF_PATH}/components/lwip/lwip/)
— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-iot-bridge/issues/54#issuecomment-1668828048, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGD6EMQ2M6YUH5C32HWL43XUGSHLANCNFSM6AAAAAA3GXLKCE . You are receiving this because you authored the thread.Message ID: @.***>
-- Diplom-Informatiker Franz Höpfinger e.K. Reibersdorf 16a 84419 Schwindegg
请问idf5.1需要打ip4_forward.patch这个补丁吗?我在编译的时候报错error: patch failed: src/core/ipv4/ip4.c:332 error: src/core/ipv4/ip4.c: patch does not apply,按照你们的文档打补丁也报错error: patch failed: src/core/ipv4/ip4.c:332 error: src/core/ipv4/ip4.c: patch does not apply,请问下这个怎么能解决?
目前是 CMake 自动给 idf 的 component/lwip/lwip 子模块打 patch 的,不需要用户手动打 patch。你可以去 esp-idf/components/lwip/lwip 里面看一下是否已经打上 patch 了,如果已经打上 patch 了,后面 CMake 编译会提示错误,但是可以忽略。
Get this every time at Compile:
Full log here:
https://gist.github.com/rinstrum-franz/8fb27d45e1fab2b0428b50e74c913e71