Home › Forums › Re: work with threads
You need to tell gcc to link against the pthread library when it builds.
Add ‘-lpthread’ to your compile command.