본문 바로가기

Linux

멀티스레드 프로그래밍 <pthread.h> undefined reference to `pthread_create`에러

1. 정상적으로 프로그래밍 하였음에도 에러가 발생한다

2. -lpthread 옵션으로 컴파일하면 정상 컴파일된다.


'Linux' 카테고리의 다른 글