lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Symbol conflict: IP_OPTIONS


From: Jonathan Larmour
Subject: Re: [lwip-devel] Symbol conflict: IP_OPTIONS
Date: Wed, 09 Jan 2008 10:09:09 +0000
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)

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




reply via email to

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