|
From: | Mason |
Subject: | [lwip-devel] Error compiling socket.c with LWIP_TCPIP_CORE_LOCKING=1 and LWIP_RAW=0 |
Date: | Thu, 13 Oct 2011 17:45:14 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1 |
Compiling socket.c fails when the RAW API is disabled, and LWIP_TCPIP_CORE_LOCKING is enabled: #define LWIP_TCPIP_CORE_LOCKING 1 #define LWIP_RAW 0 src/api/sockets.c: In function 'lwip_sendto': src/api/sockets.c:850: error: dereferencing pointer to incomplete type src/api/sockets.c:860: warning: implicit declaration of function 'raw_sendto' I suppose the patch involves sprinkling #ifdef LWIP_RAW #endif in strategic places? The comment says: "Should only be consider like a sample or a simple way to experiment this option (no check of "to" field...)" I suppose this code is not yet ready from prime time? lwip_sendto is used to send datagrams, right? -- Regards.
[Prev in Thread] | Current Thread | [Next in Thread] |