linux下編譯多線程程序, undefined reference to `pthread_create',undefined reference to `pthread_join'

問題描述:hero@ubuntu:~/WORK/for_xc7z035/app/sdr_7010$ gcc -o ./test ./test.c /tmp/cc7BcXdf.o: In function `main': test.c:(.text+0x1d7): undefined reference to `pthread_create' test.c:(.text+0x1fb): undefi
相關文章
相關標籤/搜索