www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helmut Paesler <h_paes...@aspect-online.de>
Subject os-sco/2690: Compile error
Date Fri, 24 Jul 1998 10:06:27 GMT

>Number:         2690
>Category:       os-sco
>Synopsis:       Compile error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jul 24 03:10:00 PDT 1998
>Last-Modified:
>Originator:     h_paesler@aspect-online.de
>Organization:
apache
>Release:        1.3.1
>Environment:
SCO Open Server 5.0.2, cc
8% uname -a 
SCO_SV pinguin 3.2 2 i386
>Description:
Can't compile:
gcc -c  -I../os/unix -I../include   -DSCO5 `../apaci` alloc.c 
alloc.c: In function `spawn_child_core': 
alloc.c:1949: `STDOUT_FILENO' undeclared (first use this function) 
alloc.c:1949: (Each undeclared identifier is reported only once 
alloc.c:1949: for each function it appears in.) 
alloc.c:1955: `STDIN_FILENO' undeclared (first use this function) 
alloc.c:1961: `STDERR_FILENO' undeclared (first use this function) 
*** Error code 1 (bu21)
When I fix this by adding 
#define STDIN_FILENO 0 
#define STDOUT_FILENO 1 
#define STDERR_FILENO 2
to src/include/ap_config.h (section SCO 5), I end up with
gcc -c  -I../os/unix -I../include   -DSCO5 `../apaci` buff.c 
buff.c: In function `ap_bhalfduplex': 
buff.c:570: storage size of `tv' isn't known 
*** Error code 1 (bu21)
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message