[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP 1.2 on HPPA-1.1 with HP-UX 10.20 - pthread.h error (ITS#219)



Hi,
in the meantime I did no checks for some newer version.

OpenLDAP 1.2 seems not able to configure right on my HPPA-1.1 with HP-UX 10.20:
"configure: error: could not locate pthread_detach()"
The function pthread_detach() is defined in /usr/include/pthread.h as expected.



configure-log
--------------------------------------------------------------------------------

...
checking host system type... hppa1.1-hp-hpux10.20
...
checking for pthread.h... yes
...
checking POSIX thread version... draft4
...
checking for pthread_create() in HP-UX -lpthread... yes
...
configure: warning: could not locate sched_yield() or pthread_yield()
...
checking for pthread_detach with <pthread.h>... no
configure: error: could not locate pthread_detach()

--------------------------------------------------------------------------------


/usr/include/pthread.h
--------------------------------------------------------------------------------

[...]
/*
 * A thread object may be "detached" to specify that the return value and
 * completion status will not be requested.
 */
int pthread_detach  (pthread_t *);

[...]

--------------------------------------------------------------------------------


HvS
:-)