두근두근이야기

[Linux]undifined reference to 'pthread_create'오류 해결법 본문

IT/IT

[Linux]undifined reference to 'pthread_create'오류 해결법

골든 2012. 9. 22. 17:39
undefined reference to 'pthread_create'

컴파일시 -lpthread라는 명령을 추가해주면 된다.

gcc -lpthread pthread_test.c

 

'IT > IT' 카테고리의 다른 글

이러한 단축키가...  (0) 2012.10.14
앱이란! app, application  (0) 2012.10.08
ARM PROCESSOR  (0) 2012.03.16
intel x86, CISC  (0) 2012.03.15
Context Free Grammar  (0) 2012.03.15