lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] using errno properly


From: Jonathan Larmour
Subject: Re: [lwip-users] using errno properly
Date: Sun, 15 Jun 2008 10:49:02 +0100
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515)

Rishi Khan wrote:
Does anyone have an example of how to use errno correctly in lwip? When I do this, it gives me undefined reference to __errno:
[snip]

My sys_arch.c has "#include <errno.h>" just like the unixsim port

Sounds like your OS's <errno.h> defines it to __errno, but does not provide it, or you ned to include an additional library in your link. It's not an lwIP issue.

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]