|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 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
相关推荐
落笔画忧愁e3 小时前
扣子Coze飞书多维表插件添加数据记录GuokLiu5 小时前
250708-Debian系统安装Edge浏览器并配置最小中文输入法Two_brushes.6 小时前
【linux 网络】网络基础Code Warrior6 小时前
【Linux】基础开发工具(3)鬼才血脉6 小时前
Linux(centos)安装 MySQL 8guygg886 小时前
ubuntu手动编译VTK9.3 Generating qmltypes file 失败JeffersonZU7 小时前
Linux/Unix 套接字Socket编程(socket基本概念,流程,流式/数据报socket,Unix domain socket示例)先做个垃圾出来………7 小时前
自动化一次通过率Two_brushes.8 小时前
【linux网络】网络编程全流程详解:从套接字基础到 UDP/TCP 通信实战夕泠爱吃糖8 小时前
Linux中的静态库和动态库