httpd-2.0 does not build -- missing apr_sigwait
The current apr is missing a macro apr_sigwait(), it is referenced in apr/threadproc/unix/signals.c, and I guess it must look somewhat similar to the following: #ifdef SIGWAIT_TAKES_ONE_ARG #define apr_sigwait(a,b) sigwait(a) #else #define apr_sigwait(a,b) sigwait(a,b) #endif Without this macro, httpd-2.0 doesn't build, because apr_sigwait is unresolved at link time. I was going to commit this fix (Ryan had told me recently he had added me to the committers list), but alas: Access denied: Insufficient Karma (martin|apr/threadproc/unix) cvs server: Pre-commit check failed cvs [server aborted]: correct above errors first! cvs commit: saving log message in /tmp/cvssIKmf78601 Martin -- [EMAIL PROTECTED] | Fujitsu Siemens Fon: +49-89-636-46021, FAX: +49-89-636-41143 | 81730 Munich, Germany
Re: httpd-2.0 does not build -- missing apr_sigwait
Martin Kraemer [EMAIL PROTECTED] writes: The current apr is missing a macro apr_sigwait(), it is referenced in apr/threadproc/unix/signals.c, and I guess it must look somewhat similar to the following: #ifdef SIGWAIT_TAKES_ONE_ARG #define apr_sigwait(a,b) sigwait(a) #else #define apr_sigwait(a,b) sigwait(a,b) #endif The return code of the single-parameter sigwait() is the signal number (except -1 for error). The second param of the double-parameter sigwait() is updated with the signal number (except in error case). Without this macro, httpd-2.0 doesn't build, because apr_sigwait is unresolved at link time. I was going to commit this fix (Ryan had told me recently he had added me to the committers list), but alas: Access denied: Insufficient Karma (martin|apr/threadproc/unix) cvs server: Pre-commit check failed cvs [server aborted]: correct above errors first! cvs commit: saving log message in /tmp/cvssIKmf78601 I can't fix that but I will try to commit *something* Real Soon Now. I will try to spend time debugging the new buildconf warnings before testing any code though so no guarantees that the apr_sigwait() fix is golden. -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...
Re: httpd-2.0 does not build -- missing apr_sigwait
That is in apr_private.h.in. You will need to re-run configure to pick it up. This patch compiles just fine on my box. Ryan On Wed, 21 Feb 2001, Martin Kraemer wrote: The current apr is missing a macro apr_sigwait(), it is referenced in apr/threadproc/unix/signals.c, and I guess it must look somewhat similar to the following: #ifdef SIGWAIT_TAKES_ONE_ARG #define apr_sigwait(a,b) sigwait(a) #else #define apr_sigwait(a,b) sigwait(a,b) #endif Without this macro, httpd-2.0 doesn't build, because apr_sigwait is unresolved at link time. I was going to commit this fix (Ryan had told me recently he had added me to the committers list), but alas: Access denied: Insufficient Karma (martin|apr/threadproc/unix) cvs server: Pre-commit check failed cvs [server aborted]: correct above errors first! cvs commit: saving log message in /tmp/cvssIKmf78601 Martin -- [EMAIL PROTECTED] | Fujitsu Siemens Fon: +49-89-636-46021, FAX: +49-89-636-41143 | 81730 Munich, Germany ___ Ryan Bloom [EMAIL PROTECTED] 406 29th St. San Francisco, CA 94131 ---