OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Installation : Platform Hints : IBM AIX : configure: error: pthread.h and pthread_create are not compatible | |
Threads don't work with AIX (tested with 4.1.5, 4.3.x and
xlC compiler.
Build OpenLDAP 1.x with --without-threads
| |
Developer's interested in working on AIX Thread support are encourged
to contact project@OpenLDAP.org.
| |
I have successfully built without this error on AIX 4.3.2 with ibmcxx
3.6.6 (ibmcxx.cmp 3.6.6.2).
Under AIX 4.1.5 and 4.2.1, you _must_ specify one of the _r compilers to get the correct configuration. Threads build fine with xlc_r (same 3.6.6 ibmcxx compilers). This is not an issue with the libs, it is one of defines, etc. Simply configuring with: CC=/usr/ibmcxx/bin/xlc_r ./configure ...is all that is required. | |
[Append to This Answer] |
Next: | Running "make depend" causes problems? |
|