'undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' while compiling bochs

You need to add -lpthread to the Makefile under LIBS