You are missing references for pthread. Try to add -pthread to build line.<br>