On Mon, 2006-07-10 at 15:31 -0700, e8h3wy wrote: > Hi All. Could someone please help me with using the socket API shared lib - > liblwip.so? I tried to compile a small echo server written using lwip socket > API (lwip_socket, lwip_bind etc), but I get some missing symbols. What other > objects should I include in the build, to satisfy the loader? Any hints > appreciated.
Hmm, from the symbols you are missing it seems to be an odd collection of sys and raw API stuff. The raw API stuff is a bit confusing - as far as I remember (it was nearly four years ago I wrote this example lib project) it didn't support the raw API. Are you making calls to the raw API from your es.c code? If you need it I suppose you could add raw.c to the APIFILES list in the lib's Makefile. The sys stuff should be defined by your port: it is all the OS specific things that aren't included in the core lwIP. The Makefile should pick this up in the LWIPARCH and ARCHFILES list. Sounds to me like the Makefile for the lib may have become out of date compared to the rest of the project. I'd start looking there if I was you. This lib is intended to just be an example of how you might do something similar, it's unlikely to be exactly what you need in its current form. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
