Unresolved error in linking pthread function I am getting a strange unresolved external error:
[Additional object modules and libraries cut for brevity}
/usr/vacpp/bin/cc_r -o CO ... -L... -l... -g -lm -lpthread
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_setkind_np
I've looked through the compiler and linker options and I can't see
why this is not working. The symbol seems to be there in the library:
% nm /usr/lib/libpthread.a | grep pthread_mutexattr_setkind_np
..pthread_mutexattr_setkind_np T 6180
pthread_mutexattr_setkind_np D 14672 12
TIA, W |