Received: (qmail 35893 invoked by uid 501); 22 Feb 2002 00:03:04 -0000 Message-Id: <20020222000304.35892.qmail@apache.org> Date: 22 Feb 2002 00:03:04 -0000 From: Daniel Grace Reply-To: rubein@earthlink.net To: submit@bugz.apache.org Subject: perchild.c will not compile in 2.0.32 X-Send-Pr-Version: 3.110 >Number: 9902 >Category: build >Synopsis: perchild.c will not compile in 2.0.32 >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: suspended >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 21 16:10:00 PST 2002 >Closed-Date: >Last-Modified: Thu Feb 21 16:34:17 PST 2002 >Originator: rubein@earthlink.net >Release: 2.0.32 >Organization: >Environment: OS: Linux 2.4.17-ulysses1 #1 Sat Dec 29 14:44:46 PST 2001 i686 unknown gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) AMD Duron system >Description: Apache is configured with: ./configure --prefix=/usr/local/httpd2 --enable-modules=all --with-mpm=perchild --disable-vhost-alias --disable-auth-ldap --disable-isapi --disable-suexec --disable-proxy --disable-ssl --disable-ldap --disable-auth-dbm --disable-auth-db 'make' fails in perchild.c with the following error: perchild.c: In function `perchild_open_logs': perchild.c:1436: `num_listensocks' undeclared (first use in this function) perchild.c:1436: (Each undeclared identifier is reported only once perchild.c:1436: for each function it appears in.) perchild.c:1444: `pod' undeclared (first use in this function) make[4]: *** [perchild.lo] Error 1 Looking at the other MPMs, I deduced that pod was supposed to be declared as ap_pod_t and num_listensocks was a static int. Declaring these as such yielded an error saying that ap_pod_t was undefined, even though the source file that defines it is included by perchild.c (Furthermore, num_listensocks is only used once in the code -- it has a value assigned to it but nothing ever looks at it. Is there a point in having it?) note: the num_listensocks problem was already fixed on CVS when I checked, I believe, but the other problems still remain. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-suspended State-Changed-By: aaron State-Changed-When: Thu Feb 21 16:34:17 PST 2002 State-Changed-Why: I'm suspending this bug report since the problem is well known. The perchild MPM should be considered experimental and may not be implemented by the time 2.0 goes GA. >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! ]