On Tue, 15 May 2001, Ken Williams wrote:
 
> ../gen_test_char >test_char.h
> env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I.. 
>-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN -DMOD_PERL
> -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE 
>-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
> -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` alloc.c

can you capture the output of the succesful compilation and compare the
flags here?

> alloc.c: In function `spawn_child_core':
> alloc.c:2291: `STDOUT_FILENO' undeclared (first use in this function)
> alloc.c:2291: (Each undeclared identifier is reported only once
> alloc.c:2291: for each function it appears in.)
> alloc.c:2297: `STDIN_FILENO' undeclared (first use in this function)
> alloc.c:2303: `STDERR_FILENO' undeclared (first use in this function)

on my system these are defined in /usr/include/unistd.h
ap_config.h seems to take care of a few systems who don't define them,
darwin doesn't appear to be one of those.  can you find them in darwin's
standard header files anywhere?

my ap_config_auto.h looks like this:
/* check: #include <unistd.h> */
#ifndef HAVE_UNISTD_H
#define HAVE_UNISTD_H 1
#endif

then ap_config.h tests that value:
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

it would be worth comparing the two versions of ap_config_auto.h from the
two builds to see what's different.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to