lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PPP build inconsistency


From: Kieran Mansley
Subject: Re: [lwip-users] PPP build inconsistency
Date: Wed, 10 Oct 2007 16:15:12 +0100

On Wed, 2007-10-10 at 17:01 +0200, Marko Panger wrote:
> Hi all,
> 
> Im' trying to build the lwip stack with PPPOS_SUPPORT enabled and 
> PPPOE_SUPPORT disabled (gprs connection).
> 
> When building the latest cvs snapshot code there is a build error on 
> line 507 of the ppp.c file. The code is trying to reference a member of 
> the PPPControl_s structure (pc->ethif= NULL;). On line 141 of the same 
> file, this member is not compiled due to the PPPOE_SUPPORT definition 
> being 0 in my case.
> 
> Again, the code is trying to reference the dhcp member of the netif 
> structure on line 1340 of the ppp.c file, although my configuration is 
> LWIP_DHCP 0. Btw. this line is commented with "/* ugly workaround for 
> storing a reference to the ppp related info*/". Being ugly what should I 
> take care of ?

Those would appear to be just cases where the code hasn't been compiled
with the various options turned on an off - this is one of the reasons
why so many compile time options can be troublesome, but they do help to
keep the compiled code small.

The solution really needs someone who understands the PPP code though,
which I'm not, and they're a bit thin on the ground at the moment.  Any
volunteers to help fix this?

Kieran 






reply via email to

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