12-15-2009 03:45 AM
Hi
I am trying to implement webserver socket application. I have created xilkernel platform and added lwip to it.
After that I added sock_apps from available code of webserver to it.
I am getting errors in echo.c file. They are about MACROs like SOCK_STREAM undeclared, IN_ADDRANY undeclared, socklen_t undeclared, storage size of "address" isn't known. These are members of sockets.h file. These file is included in the beginning as
#include "lwip/sockets.h"
Still these errrors are coming.
What is the solution to make it work.
Thank you
12-15-2009 05:23 AM
Hello.
Double click your software project and in the compiler options go to "Path and Options" tab.
In the "Libraries to link against" have you set the linking libraries for LWIP and Xilkernel. If not then copy and paste...
-llwip4 -lxilkernel