Received: (qmail 12109 invoked by uid 501); 28 Jan 2002 15:08:52 -0000 Message-Id: <20020128150852.12108.qmail@apache.org> Date: 28 Jan 2002 15:08:52 -0000 From: Terrence Brannon Reply-To: metaperl@mac.com To: submit@bugz.apache.org Subject: alloc.c does not compile on Mac OS X 10.1.2 X-Send-Pr-Version: 3.110 >Number: 9626 >Category: build >Synopsis: alloc.c does not compile on Mac OS X 10.1.2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 28 07:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: metaperl@mac.com >Release: 1.3.23 >Organization: apache >Environment: Macintosh OS X 10.1.2 (darwin 1.2) >Description: Using mod_perl-1.26, and these config parms: perl Makefile.PL PREFIX=$PREFIX EVERYTHING=1 USE_DSO=1 with perl-5.7.2, the apache-build part of the process fails env LD_RUN_PATH=/Users/metaperl/install/lib/5.7.2/darwin/CORE gcc -c -I../os/u\ nix -I../include -DDARWIN -DMOD_PERL -DUSE_HSREGEX -pipe -fno-common -DHAS_TE\ LLDIR_PROTOTYPE -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -Wall -fno-strict-aliasin\ g -I/usr/local/include `../apaci` alloc.c ../include/hsregex.h:22: warning: redefinition of macro ap_private_extern ../include/ap_config.h:1080: warning: this is the location of the previous defi\ nition alloc.c: In function `fd_cleanup': alloc.c:1766: warning: implicit declaration of function `close' alloc.c: In function `spawn_child_core': alloc.c:2098: warning: implicit declaration of function `pipe' alloc.c:2267: warning: implicit declaration of function `fork' alloc.c:2291: warning: implicit declaration of function `dup2' 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) alloc.c: In function `free_proc_chain': alloc.c:2698: warning: implicit declaration of function `sleep' make[4]: *** [alloc.o] Error 1 make[3]: *** [subdirs] Error 1 make[2]: *** [build-std] Error 2 make[1]: *** [build] Error 2 make: *** [apaci_httpd] Error 2 [localhost:~/wares/mod_perl-1.26] metaperl% find . -name alloc.c [localhost:~/wares/mod_perl-1.26] metaperl% find ../apache_1.3.23 -name alloc.c ../apache_1.3.23/src/main/alloc.c [localhost:~/wares/mod_perl-1.26] metaperl% >How-To-Repeat: simply get apache-1.3.23 and mac os x 10.1.2 and attempt to install mod_perl-1.26 >Fix: i would look at alloc.c in apache 1.3.20 because I did not have this problem there. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]