From nobody@hyperreal.com Wed Mar 26 19:32:31 1997 Received: by taz.hyperreal.com (8.8.4/V2.0) id TAA09463; Wed, 26 Mar 1997 19:32:31 -0800 (PST) Message-Id: <199703270332.TAA09463@taz.hyperreal.com> Date: Wed, 26 Mar 1997 19:32:31 -0800 (PST) From: Alec Wolman Reply-To: wolman@cs.washington.edu To: apbugs@hyperreal.com Subject: compilation failure in buff.c X-Send-Pr-Version: 3.2 >Number: 265 >Category: config >Synopsis: compilation failure in buff.c >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Mar 26 19:40:01 1997 >Last-Modified: Sun Apr 6 12:27:07 PDT 1997 >Originator: wolman@cs.washington.edu >Organization: >Release: 1.2b7 >Environment: Ultrix V4.3 w/gcc v2.7.2.1 >Description: buff.c does not compile, on the above platform. Here is the error: gcc -c -Iregex -O2 -DULTRIX -DSTATUS buff.c In file included from buff.c:61: /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.7.2.1/include/sys/uio.h:43: parse error before `caddr_t' /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.7.2.1/include/sys/uio.h:43: warning: no semicolon at end of struct or union /usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.7.2.1/include/sys/uio.h:45: parse error before `}' buff.c: In function `bcwrite': buff.c:645: storage size of `vec' isn't known gmake: *** [buff.o] Error 1 This is because uio.h uses the type caddr_t, which is defined in sys/types.h on Ultrix, but sys/types.h is not included in buff.c. >How-To-Repeat: >Fix: I worked around it by adding #include to buff.c. You may have another solution. %0 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sun Apr 6 12:27:06 PDT 1997 State-Changed-Why: Fixed in revision 1.22 of buff.c, which will be available in the next beta. Thanks. >Unformatted: