that don't seem like the whole command
we need the whole thing
but basically that line (should we be able to see it) needs -lpthread at the end of it
should be able to add it in the Makefile somewhere or just copy paste the fixed command on the command line