Re: [lwip-users] Building mbedtls using LWIP library

2017-04-19 Thread goldsi...@gmx.de
wrote shruthi: In this case, 1. Is the support available for Unix? Why wouldn't it? lwIP is just a library and using it on Unix is just a port. If you want to see how it's done, get the latest git master's src and contrib repositories and build the unix example port with "mbedtls" next to

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-19 Thread Ajay Bhargav
As Simon said, these are more of mbedTLS questions than lwIP > In this case, > 1. Is the support available for Unix? Check file net_sockets.c it uses socket APIs which are directly compatible with lwIP socket APIs make sure you enable them in lwipopts.h > 2. Should I install mbedTLS library and

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-19 Thread shruthi
Thank you all for your suggestions. Simon wrote: > If you want to use mbedTLS with lwIP's callback API, have a look into > current git master, I'm just working on that. No way to integrate that > back into 1.4.x though. In this case, 1. Is the support available for Unix? 2. Should I install

Re: [lwip-users] Need help in ndk-build

2017-04-19 Thread Simon Goldschmidt
Anmol Sehgal wrote: > error: undefined reference to 'errno' 'int errno' is defined as external only. Try adding a line "int errno;" somewhere to get the reference or don't define LWIP_PROVIDE_ERRNO (if that works for your library). > slipif.c:391: error: undefined reference to 'sio_open' Do

[lwip-users] Need help in ndk-build

2017-04-19 Thread Anmol Sehgal
Hi, Thank for your responses but my query is regarding compiling the lwip-2.0.2 through NDK-build for android platform, as we want to use lwip-2.0.2 to implement L2TP protocol for the vpn connection. We downloaded the working git project for LWIP-1.4.1 from the URL: