When you compile the program with this function on a new 2.6X core, you will find that if
GCC -LPTHEAD .... Unable to success, the reason is that there is no implementation of this function in LibPthread.so (but there is LibPthread.a)
There is also a function of this function in a librt.so librt.a.
So two options, or static link PTHREAD either plus -lrt