AnsweredAssumed Answered

When enabling LWIP_DEBUG in lwip_opts.h building errors appear

Question asked by Hans van Daal on Nov 14, 2019
Latest reply on Nov 14, 2019 by Daniel Chen

Finished building: ../lwip/src/api/tcpip.c
In file included from ../example/src/lwip_fs.c:37:
../example/src/lwip_fs.h:174:25: error: unknown type name 'err_t'
const char *lwip_strerr(err_t eno);

 

err_t is defined in err.h, but when I include that file other errors are appearing.

 

How can I eable LWIP_DEBUG without errors?

Outcomes