Subj : Re: compiling for pthreads on AIX 5.2L To : comp.programming.threads From : ptjm Date : Wed Mar 09 2005 05:01 am In article <1110299369.095777.270760@l41g2000cwc.googlegroups.com>, wrote: % ok, to follow up on myself, once more, the solution (workaround??) is % to add -D_POSIX_SOURCE to CFLAGS. You'd think this would happen % automatically if, as the document mentioned above says, all you need is % -pthread. Try -D_POSIX_C_SOURCE=20012L or -D_XOPEN_SOURCE=600 instead, if you're coding to the latest standard. Did you try -mthreads? Perhaps you'll find it does this for you. -- Patrick TJ McPhee North York Canada ptjm@interlog.com .