I don't have irix here, but locking seems problematic to me. Can you try building with -DMP? I don't know how to turn it on but there must be a way.