[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?
Jared
-----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
amount
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
being
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
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos
experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223
245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------
Opinions==mine
_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel