首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
make编译错误
{{{ /bin/sh /root/swoole-src/libtool --mode=compile cc -I. -I/root/swoole-src -DPHP_ATOM_INC -I/root/swoole-src/include -I/root/swoole-src/main -I/root/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/include -I/root/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/swoole-src/swoole.c -o swoole.lo libtool: compile: cc -I. -I/root/swoole-src -DPHP_ATOM_INC -I/root/swoole-src/include -I/root/swoole-src/main -I/root/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/include -I/root/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/swoole-src/swoole.c -fPIC -DPIC -o .libs/swoole.o 在包含自 /usr/include/php/ext/spl/spl_iterators.h:27 的文件中, 从 /root/swoole-src/php_swoole.h:29, 从 /root/swoole-src/swoole.c:19: /usr/include/php/ext/pcre/php_pcre.h:29:18: 错误:pcre.h:没有那个文件或目录 In file included from /usr/include/php/ext/spl/spl_iterators.h:27, from /root/swoole-src/php_swoole.h:29, from /root/swoole-src/swoole.c:19: /usr/include/php/ext/pcre/php_pcre.h:37: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/php/ext/pcre/php_pcre.h:38: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/php/ext/pcre/php_pcre.h:44: 错误:expected specifier-qualifier-list before ‘pcre’ make: *** [swoole.lo] 错误 1 }}} 请问这什么情况?
发布于8年前 · 0 次浏览 · 来自
提问
S
Sugar
{{{ /bin/sh /root/swoole-src/libtool --mode=compile cc -I. -I/root/swoole-src -DPHP_ATOM_INC -I/root/swoole-src/include -I/root/swoole-src/main -I/root/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/include -I/root/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/swoole-src/swoole.c -o swoole.lo libtool: compile: cc -I. -I/root/swoole-src -DPHP_ATOM_INC -I/root/swoole-src/include -I/root/swoole-src/main -I/root/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/include -I/root/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/swoole-src/swoole.c -fPIC -DPIC -o .libs/swoole.o 在包含自 /usr/include/php/ext/spl/spl_iterators.h:27 的文件中, 从 /root/swoole-src/php_swoole.h:29, 从 /root/swoole-src/swoole.c:19: /usr/include/php/ext/pcre/php_pcre.h:29:18: 错误:pcre.h:没有那个文件或目录 In file included from /usr/include/php/ext/spl/spl_iterators.h:27, from /root/swoole-src/php_swoole.h:29, from /root/swoole-src/swoole.c:19: /usr/include/php/ext/pcre/php_pcre.h:37: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/php/ext/pcre/php_pcre.h:38: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/php/ext/pcre/php_pcre.h:44: 错误:expected specifier-qualifier-list before ‘pcre’ make: *** [swoole.lo] 错误 1 }}} 请问这什么情况?
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2016-03-06
爱
爱♡蛋♛不理╭(╯ε╰)╮
自己看手册解决了 yum install pcre-devel
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。