public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* EINTR undeclared.
@ 2005-01-11 22:33 Georg Grabler
  2005-01-12  0:18 ` Sisyphus
  0 siblings, 1 reply; 2+ messages in thread
From: Georg Grabler @ 2005-01-11 22:33 UTC (permalink / raw)
  To: gcc-help

Hello everybody.

I've lately been trying to compile ipsec-tools within gcc 3.4.3.

Now, well, i've the problem that in libipsec there is errno.h included, but 
still it seems as if the decleration for EINTR is missing. On the web 
(google) i found that it used to be declared in errno.h.

Any suggestions how to patch this in ipsec-tools? Any suggestion where to get 
EINTR from?

Thank you,
Georg Grabler

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: EINTR undeclared.
  2005-01-11 22:33 EINTR undeclared Georg Grabler
@ 2005-01-12  0:18 ` Sisyphus
  0 siblings, 0 replies; 2+ messages in thread
From: Sisyphus @ 2005-01-12  0:18 UTC (permalink / raw)
  To: ggrabler; +Cc: gcc-help

Georg Grabler wrote:
> Hello everybody.
> 
> I've lately been trying to compile ipsec-tools within gcc 3.4.3.
> 
> Now, well, i've the problem that in libipsec there is errno.h included, but 
> still it seems as if the decleration for EINTR is missing. On the web 
> (google) i found that it used to be declared in errno.h.
> 
> Any suggestions how to patch this in ipsec-tools? Any suggestion where to get 
> EINTR from?
> 

I have older versions of gcc. On my linux box I find it defined in 
usr/include/asm/errno.h

#define	EINTR		 4	/* Interrupted system call */

And on my Win32 box I find the same definition in MinGW/include/errno.h

Not sure if any of that helps. Maybe take a look at your asm/errno.h and 
see if it's there.

Cheers,
Rob



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-12  0:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 22:33 EINTR undeclared Georg Grabler
2005-01-12  0:18 ` Sisyphus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).