From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14400 invoked by alias); 12 Jan 2005 00:18:32 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14354 invoked from network); 12 Jan 2005 00:18:25 -0000 Received: from unknown (HELO mail.iinet.net.au) (203.59.3.36) by sourceware.org with SMTP; 12 Jan 2005 00:18:25 -0000 Received: (qmail 3497 invoked from network); 12 Jan 2005 00:18:23 -0000 Received: from unknown (HELO iinet.net.au) (203.217.40.20) by mail.iinet.net.au with SMTP; 12 Jan 2005 00:18:23 -0000 Message-ID: <41E45D4F.7090601@iinet.net.au> Date: Wed, 12 Jan 2005 00:18:00 -0000 From: Sisyphus User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 MIME-Version: 1.0 To: ggrabler@gmail.com CC: gcc-help@gcc.gnu.org Subject: Re: EINTR undeclared. References: <200501112333.56173.ggrabler@gmail.com> In-Reply-To: <200501112333.56173.ggrabler@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00091.txt.bz2 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