[Top][All Lists]

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

RE: [lwip-devel] Symbol conflict: IP_OPTIONS

From: Grubb, Jared
Subject: RE: [lwip-devel] Symbol conflict: IP_OPTIONS
Date: Wed, 9 Jan 2008 09:53:29 -0800

This issue has come up a couple times... If we're going to break that,
then maybe we could LWIP_* all of the constants in lwipopts?


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Jonathan Larmour
Sent: Wednesday, January 09, 2008 02:09
To: lwip-devel
Subject: Re: [lwip-devel] Symbol conflict: IP_OPTIONS

Rasmussen, Art N. wrote:
> Greetings,
> The symbol IP_OPTIONS in opt.h conflicts with arpa/inet.h in the gcc 
> library for Linux systems (actually with a file #included by inet.h).

Including the header files for two different TCP/IP stacks in the same 
module doesn't seem like a good idea in the first place. A certain
of system header file inclusion is required in the unix port, but as far

as I can tell it doesn't include arpa/inet.h.

Nevertheless, this is a simple enough change, and enough things are
broken anyway for 1.3.0 that I've made it, and will warn people of the 
name change in the notes at http://lwip.scribblewiki.com

eCosCentric Limited      http://www.eCosCentric.com/     The eCos
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------

lwip-devel mailing list

reply via email to

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