728x90 thread1 gsjava undefined reference to `pthread_create' undefined reference to `pthread_create' undefined reference to `pthread_join' owever, use -pthread instead of -lpthread, as -pthread may add other settings (like defining the macro _REENTRANT for example). gcc -lpthread ... 나는 -pthread로 변경 하니깐 됐음. 2022. 9. 6. 이전 1 다음 728x90