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

Re: hp-ux linker does not grok -k (ITS#644)



At 05:55 PM 7/28/00 +0000, raj@cup.hp.com wrote:
>Full_Name: rick jones
>Version: 1.2.11
>OS: HP-UX 11.00
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (156.153.255.130)
>
>
>The configure script seems to look for assorted pthread routines with a
>"-kthread."
>mechanism. This -k option is not recognized by the HP-UX linker, and su the
>script
>is unable to find those pthread routines.

This should result in -kthread no being used to select threads.
The configure script should then attempt other flags.  You can
disable the -kthread test:
  env ol_cv_kthread_flag=no ... ./configure ...



>The workaround is to export LIBS=-lpthread,

In general, it is better to force tests to be true or false
then to use LIBS.