``` /usr/bin/ld ... `pthread_create` : undefined reference ``` While compiling it, a link error occurred which shown that it should link the pthread library After appending " -lpthread" in Line 8 of **Makefile** , it worked. Env: - WSL-Ubuntu 20.04LTS - gcc 9.3.0
While compiling it, a link error occurred which shown that it should link the pthread library
After appending " -lpthread" in Line 8 of Makefile , it worked.
Env: