Re: [lwip-users] Issue in err.c for lwIP 2.0.0

2016-12-01 Thread Amit Ashara
Thanks Dirk. I added the same to the lwipopts.h and it works. Regards Amit On Thu, Dec 1, 2016 at 1:57 AM, Dirk Ziegelmeier wrote: > No, the solution is in errno.h: > > Choose one of: > > - #define LWIP_PROVIDE_ERRNO 1 > - #define LWIP_ERRNO_INCLUDE

Re: [lwip-users] Issue in err.c for lwIP 2.0.0

2016-11-30 Thread Dirk Ziegelmeier
No, the solution is in errno.h: Choose one of: - #define LWIP_PROVIDE_ERRNO 1 - #define LWIP_ERRNO_INCLUDE "path/my_header_file_containing_errno.h" HTH Dirk On Wed, Nov 30, 2016 at 7:45 PM, Amit Ashara wrote: > Hello All, > > When integrating FreeRTOS with lwIP 2.0.0

[lwip-users] Issue in err.c for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
Hello All, When integrating FreeRTOS with lwIP 2.0.0 the following gives an error for missing defines. #if !NO_SYS /** Table to quickly map an lwIP error (err_t) to a socket error * by using -err as an index */ static const int err_to_errno_table[] = { 0, /* ERR_OK 0