首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
swoole-1.7.17-stable扩展编译安装失败:error: syntax error before "pthread_rwlock_t"
swoole-src-swoole-1.7.17-stable/include/swoole.h:633: error: syntax error before "pthread_rwlock_t" swoole-src-swoole-1.7.17-stable/include/swoole.h:633: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:634: warning: type defaults to `int' in declaration of `attr' swoole-src-swoole-1.7.17-stable/include/swoole.h:634: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:636: warning: type defaults to `int' in declaration of `swRWLock' swoole-src-swoole-1.7.17-stable/include/swoole.h:636: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:642: error: syntax error before "pthread_spinlock_t" swoole-src-swoole-1.7.17-stable/include/swoole.h:642: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:643: warning: type defaults to `int' in declaration of `swSpinLock' swoole-src-swoole-1.7.17-stable/include/swoole.h:643: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:665: error: syntax error before "swRWLock" swoole-src-swoole-1.7.17-stable/include/swoole.h:665: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:665: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:668: warning: type defaults to `int' in declaration of `spinlock' swoole-src-swoole-1.7.17-stable/include/swoole.h:668: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:673: error: syntax error before '}' token /home/spider/zhangyi17/swoole-src-swoole-1.7.17-stable/include/swoole.h:673: warning: type defaults to `int' in declaration of `object' swoole-src-swoole-1.7.17-stable/include/swoole.h:673: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:680: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here swoole-src-swoole-1.7.17-stable/include/swoole.h:680: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /swoole-src-swoole-1.7.17-stable/include/swoole.h:681: error: syntax error before '}' token
发布于9年前 · 1 次浏览 · 来自
提问
f
fx_123
swoole-src-swoole-1.7.17-stable/include/swoole.h:633: error: syntax error before "pthread_rwlock_t" swoole-src-swoole-1.7.17-stable/include/swoole.h:633: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:634: warning: type defaults to `int' in declaration of `attr' swoole-src-swoole-1.7.17-stable/include/swoole.h:634: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:636: warning: type defaults to `int' in declaration of `swRWLock' swoole-src-swoole-1.7.17-stable/include/swoole.h:636: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:642: error: syntax error before "pthread_spinlock_t" swoole-src-swoole-1.7.17-stable/include/swoole.h:642: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:643: warning: type defaults to `int' in declaration of `swSpinLock' swoole-src-swoole-1.7.17-stable/include/swoole.h:643: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:665: error: syntax error before "swRWLock" swoole-src-swoole-1.7.17-stable/include/swoole.h:665: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:665: warning: no semicolon at end of struct or union swoole-src-swoole-1.7.17-stable/include/swoole.h:668: warning: type defaults to `int' in declaration of `spinlock' swoole-src-swoole-1.7.17-stable/include/swoole.h:668: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:673: error: syntax error before '}' token /home/spider/zhangyi17/swoole-src-swoole-1.7.17-stable/include/swoole.h:673: warning: type defaults to `int' in declaration of `object' swoole-src-swoole-1.7.17-stable/include/swoole.h:673: warning: data definition has no type or storage class swoole-src-swoole-1.7.17-stable/include/swoole.h:680: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here swoole-src-swoole-1.7.17-stable/include/swoole.h:680: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /swoole-src-swoole-1.7.17-stable/include/swoole.h:681: error: syntax error before '}' token
赞
0
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
登录
后参与评论
评论
2016-10-15
1
1000172
贴一下你的操作系统,gcc 版本。
赞
0
回复