test_lp_1.c:(.text+0x24):对‘pthread_creat’未定义的引用

编写线程测试程序 gcc的时候报错 test_lp_1.c:(.text+0x24):对‘pthread_creat’未定义的引用

添加了-lpthread 依然报错