Mailing List Archive

[Bug 7867] - configure/compile error
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=7867>.
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=7867

configure/compile error





------- Additional Comments From jgilbert@liv.ac.uk 2002-04-10 08:34 -------
Extra details form the configure script after more fiddling:Checking for
Threads...

checking for pthread.h... yes
checking for pthreads_cflags...
checking for pthreads_lib... pthread
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... yes
checking whether pthread_attr_getdetachstate takes one argument... yes

So configure thinks the function takes only one argument, but when it comes to
compile time, it complains about only having one argument, as line 115
in /srclib/apr/threadproc/unix/thread.c is:
state = pthread_attr_getdetachstate(attr->attr);