www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alec Wolman <wol...@cs.washington.edu>
Subject config/265: compilation failure in buff.c
Date Thu, 27 Mar 1997 03:40:02 GMT

>Number:         265
>Category:       config
>Synopsis:       compilation failure in buff.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 26 19:40:01 1997
>Originator:     wolman@cs.washington.edu
>Organization:
apache
>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 <sys/types.h> to buff.c.
You may have another solution.
%0
>Audit-Trail:
>Unformatted:



Mime
View raw message