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: https://github.com/digitalsorcery/LWIPAndroidJNI And in a similar way, we are trying to build LWIP-2.0.2, as per your suggestion, but getting compilation errors. The errors faced while trying to compile and make .so file are as below: [armeabi] SharedLibrary : liblwip-android.so C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/api/sockets.c:510: error: undefined reference to 'errno' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/api/sockets.c:510: error: undefined reference to 'errno' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/api/sockets.c:510: error: undefined reference to 'errno' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/api/sockets.c:510: error: undefined reference to 'errno' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:391: error: undefined reference to ' sio_open' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:132: error: undefined reference to ' sio_send' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:140: error: undefined reference to ' sio_send' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:145: error: undefined reference to ' sio_send' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:150: error: undefined reference to ' sio_send' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:337: error: undefined reference to ' sio_read' C:/Users/anmolsehgal/Desktop/LWIPAndroidJNI-master2.0.2/LWIPAndroidJNI-master/jni/lwip-2.0.2/src/netif/slipif.c:437: error: undefined reference to ' sio_tryread' clang++.exe: error: linker command failed with exit code 1 (use -v to clang++see invocation) Any help would be appreciated. Regards, Anmol Thanks and Regards Anmol Sehgal
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
