|
|||||||||||
|
DO NOT REPLY [Bug 9457] - Compilation fails on HP-UX 10.20
From: <bugzilla(at)apache.org>
Date: Fri May 31 2002 - 13:44:21 EDT
Compilation fails on HP-UX 10.20
make extraclean
Hopefully with this patch APR will realize that it doesn't know how to use the system thread support and it will not enable threads and the user won't have to specify --disable-threads to make it work. Here is the patch: Index: srclib/apr/build/apr_threads.m4 RCS file: /home/cvs/apr/build/apr_threads.m4,v retrieving revision 1.5 diff -u -r1.5 apr_threads.m4 --- srclib/apr/build/apr_threads.m4 29 Apr 2001 05:22:15 -0000 1.5 +++ srclib/apr/build/apr_threads.m4 31 May 2002 17:39:10 -0000@@ -86,6 +86,7 @@ int main() {
pthread_t thd;
pthread_mutexattr_t mattr;
+ pthread_once_t once_init = PTHREAD_ONCE_INIT;
int data = 1;
pthread_mutexattr_init(&mattr);
return pthread_create(&thd, NULL, thread_routine, &data);
Of course, somebody is free to try to adapt APR to be able to use the HP-UX 10.20 thread support, but until that happens APR can hopefully work out-of- the-box. FYI... AFAIK there aren't any thread-related problems with Apache 2.0 or APR on HP-UX 11. Thanks!!! To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Fri May 31 17:44:18 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:38 EDT |
||||||||||
|
|||||||||||