lwip sockets

I’m using the AT91SAM7xek evaluation kit.

I’m using Eclipse, and FreeRTOS as operating system.

The lwip demo version with webserver is now running on my

microcontroller.

Now I like to configure a TCP socket connection.

Therefore I add the follwing in my makefile:

LWIP_THUMB_SRC= \

…(more and more)

lwip-1.1.0/src/api/sockets.c \

…(more and more)

When compiling → 152 warnings occur:

errno.h warning: this is the location of the previous definition (70 warnings like this)

warning: “EADDRINUSE” redefined (in arch.h) (about 30 warnings like this)

What’s going wrong? How can I solve this?

Is there a source code available for setting up and handling a TCP socket connection?

Thanks

if you use the webserver application from freertos, you laready have all the source file you need in your makefile. since webserver is tcp oriented, i don’t know why you need to put something else in your makefile.

regards

Jonathan