www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Grace <rub...@earthlink.net>
Subject build/9902: perchild.c will not compile in 2.0.32
Date Fri, 22 Feb 2002 00:03:04 GMT

>Number:         9902
>Category:       build
>Synopsis:       perchild.c will not compile in 2.0.32
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 21 16:10:00 PST 2002
>Originator:     rubein@earthlink.net
>Release:        2.0.32
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

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.


 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message