|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1:undefined reference to `pthread_create' gcc main.c -o test -lpthread |
| [root@hqgao ddserver]# gcc ddserver.c -o ddserver -lpthread [root@hqgao ddserver]# ./ddserver Segmentation fault |
| makefile 简单例子 all: httpd client LIBS = -lpthread #-lsocket httpd: httpd.c gcc -g -W -Wall (LIBS) -o @ client: simpleclient.c gcc -W -Wall -o @ $ clean: rm httpd |
| |
| |
| |
| |
| |
| |
linux 编译lpthread
qianshanxue112023-11-09 14:27
相关推荐
啊吧怪不啊吧20 小时前
UU远程协助迎来升级!第一期更新实测C_心欲无痕1 天前
ts - tsconfig.json配置讲解冰西瓜6001 天前
国科大2025操作系统高级教程期末回忆版HIT_Weston1 天前
93、【Ubuntu】【Hugo】搭建私人博客:面包屑(一)cuijiecheng20181 天前
Linux下Beyond Compare过期喵叔哟1 天前
20.部署与运维HIT_Weston1 天前
92、【Ubuntu】【Hugo】搭建私人博客:侧边导航栏(六)CodeAllen嵌入式1 天前
Windows 11 本地安装 WSL 支持 Ubuntu 24.04 完整指南期待のcode1 天前
前后端分离项目 Springboot+vue 在云服务器上的部署AI 智能服务1 天前
第6课__本地工具调用(文件操作)