You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/12/06 10:31:16 UTC

DO NOT REPLY [Bug 23837] - simple build fails with link errors on apr_threadkey_private_delete

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23837>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23837

simple build fails with link errors on apr_threadkey_private_delete





------- Additional Comments From codeslob@iinet.net.au  2003-12-06 09:31 -------
It appears there is a symbol exported that should only be exported if HAVE_PTHRE
AD_KEY_DELETE is defined.

My fix:
----- cut here -----
--- /tmp/apache-2.0.48-r1/work/httpd-
2.0.48/srclib/apr/include/apr_thread_proc.h        2003-12-06 
20:23:42.000000000 +1100
+++ ./srclib/apr/include/apr_thread_proc.h      2003-12-06 20:16:04.000000000 
+1100
@@ -365,7 +365,9 @@
  * Free the thread private memory
  * @param key The handle for the desired thread private memory
  */
+#ifdef HAVE_PTHREAD_KEY_DELETE
 APR_DECLARE(apr_status_t) apr_threadkey_private_delete(apr_threadkey_t *key);
+#endif

 /**
  * Return the pool associated with the current threadkey.
----- cut here -----

With the above change, apache now compiles on my Gentoo with apache 2.0.48 (gent
oo package net-www/apache-2.0.48-r1).

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org