You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Justin Pope <jn...@dali.ppco.com> on 1998/05/18 16:04:48 UTC

os-irix/2244: GCC compile error, readv/writev

>Number:         2244
>Category:       os-irix
>Synopsis:       GCC compile error, readv/writev
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon May 18 07:10:00 PDT 1998
>Last-Modified:
>Originator:     jnpope@dali.ppco.com
>Organization:
apache
>Release:        1.2.6
>Environment:
IRIX 6.2, gcc 2.7.2.2
>Description:
Output from make command:

 ...
 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'

Looks like another cc vs. gcc difference.
>How-To-Repeat:

>Fix:
Adding #define NO_WRITEV in the IRIX section of conf.h fixes the problem for us.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]