pthread重定义问题

在学习pthread的时候碰到了以下问题
这是代码:

#include
#include
void callback() {
    printf("子线程");
}
int main() {
    pthread_t thread;
    pthread_create(&thread, NULL, (void*)callback, NULL);
    printf("主线程");
    return 0;
}

我是在这里下载的pthread

img


然后就出现了这个

img


这个重定义我也按照CSDN上几种方法试着解决了但还是没什么用

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 以帮助更多的人 ^-^