View Single Post

   
  #3 (permalink)  
Old 01-05-2008, 06:12 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: Unresolved error in linking pthread function

Uli Link <spamkuebel.csiph@linkitup.homeunix.com> writes:

> W schrieb:
>
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_setkind_np

>
> There are compatibility invocations cc_r4 and cc_r7 for sources
> conforming pre-AIX 4.3 threads model.


From: http://publib.boulder.ibm.com/infoce...setkind_np.htm

This subroutine is provided only for compatibility with the DCE
threads. It should not be used when writing new applications.

You must compile and link with 'cc_r4' and you must have
DCE-compatibility packages, containing libdcelibc_r.a and
libdcepthreads.a installed.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Reply With Quote