3 Replies Latest reply on Jun 21, 2019 3:28 AM by RaktimR_11

    dns.h not found error in wwd ping example code on FreeRTOS LwIP build

    user_4252696

      Context is this thread I created earlier Can I send frames directly to an lwIP interface on a CYW43340?

       

      When I compile 43xxx_Wi-Fi/apps/wwd/ping with FreeRTOS and LwIP it does so without any error messages. I want to use this code as a starting point for my project, so I coppied it to a different folder so it's now under 43xxx_Wi-Fi/apps/c4/lwiptest. I get the following errors when I try to compile it.

       

      Compiling WWD_LwIP_Interface_FreeRTOS

      Compiling WICED_LwIP_Interface

      WICED/network/LwIP/WICED/tcpip.c:49:10: fatal error: dns.h: No such file or directory

      #include "dns.h"

                ^~~~~~~

      compilation terminated.

      tools/makefiles/wiced_elf.mk:232: recipe for target 'build/c4.lwiptest-ISM43340_M4G_L44-FreeRTOS-LwIP/Modules/./WICED/network/LwIP/WICED/tcpip.o' failed

      make.exe[1]: *** [build/c4.lwiptest-ISM43340_M4G_L44-FreeRTOS-LwIP/Modules/./WICED/network/LwIP/WICED/tcpip.o] Error 1

      make.exe[1]: *** Waiting for unfinished jobs....

      WICED/network/LwIP/WICED/wiced_network.c:55:10: fatal error: dns.h: No such file or directory

      #include "dns.h"

                ^~~~~~~

      compilation terminated.

      tools/makefiles/wiced_elf.mk:232: recipe for target 'build/c4.lwiptest-ISM43340_M4G_L44-FreeRTOS-LwIP/Modules/./WICED/network/LwIP/WICED/wiced_network.o' failed

      make.exe[1]: *** [build/c4.lwiptest-ISM43340_M4G_L44-FreeRTOS-LwIP/Modules/./WICED/network/LwIP/WICED/wiced_network.o] Error 1

      make: *** [main_app] Error 2

      Makefile:351: recipe for target 'main_app' failed

       

       

      18:41:23 Build Finished (took 18s.348ms)

       

      I haven't changed anything to the code besides the filename, and the makefile with the correct filename.