[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] sockets lwipopts.h problem

From: Simon Goldschmidt
Subject: Re: [lwip-users] sockets lwipopts.h problem
Date: Sat, 26 Feb 2011 09:43:35 +0100

Kieran Mansley <address@hidden> wrote:

>> -1.3.2/src/core/raw.c", line 104: error: struct "raw_pcb" has no field 
>> "lwip_recv"
>> Here is the line of code in raw.c
>> if (pcb->recv(pcb->recv_arg, pcb, p, &(iphdr->src)) != 0) {
> The error reference lwip_recv, but the code says pcb->recv.  Is the 
> preprocessor doing something odd to substitute one symbol for the other?

Sounds like somehow, raw.c includes socket.h and the compatibility define is 
turned on which defines lwip_recv to recv. Did you manually put an include to 
socket.h somewhere? Because that file should normally not be included by raw.c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]