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. The workaround is to export LIBS=-lpthread, however, this does leave a number of option unrecognized warnings during the build. I'm not sure if there might be a newer configure/autoconf out there that better deals with HP-UX 11 or if that might be the way to go.
changed notes changed state Open to Closed
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.
provided workaround