The following reply was made to PR os-irix/2244; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: Justin Pope <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: os-irix/2244: GCC compile error, readv/writev
Date: Mon, 25 May 1998 11:07:59 -0700 (PDT)

 This should be put in the FAQ so many people run into it. 
 
 On 18 May 1998, Justin Pope wrote:
 
 > >Environment:
 > IRIX 6.2, gcc 2.7.2.2
 >  ...
 >  In file included from buff.c:66:
 >  /usr/include/sys/uio.h:34: conflicting types for `readv'
 >  
 > /usr/ppco/GNU/lib/gcc-lib/mips-sgi-irix5.3/2.7.2.2.f.2/include/unistd.h:157: 
 > previous declaration of `readv'
 
 IRIX version 6.2, gcc built against 5.3.  This is wrong.  gcc is
 intimately tied with the version of the operating system it is built for. 
 Rebuild gcc on 6.2 and the problem will go away. 
 
 You don't want to run with NO_WRITEV -- it can cause painful network
 traffic against HTTP/1.1 clients (IE4 for example).
 
 Dean
 

Reply via email to