error exist while using gcc to a source file which used the pthread library.
it's because the gcc parameter is not enough.
you can solve it with -lpthread:
egg:
gcc mythread.c -o mythread -l pthread
it's because the gcc parameter is not enough.
you can solve it with -lpthread:
egg:
gcc mythread.c -o mythread -l pthread