首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
编译swoole扩展1.8.13报错
在编译swoole扩展时报这个错,请问是什么原因呀?swoole版本是1.8.13,php是5.6.27 {{{ In file included from /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:17: /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:767: error: syntax error before "pthread_rwlock_t" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:767: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:768: warning: type defaults to `int' in declaration of `attr' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:768: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:770: warning: type defaults to `int' in declaration of `swRWLock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:770: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:776: error: syntax error before "pthread_spinlock_t" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:776: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:777: warning: type defaults to `int' in declaration of `swSpinLock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:777: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:799: error: syntax error before "swRWLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:799: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:799: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:802: warning: type defaults to `int' in declaration of `spinlock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:802: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:807: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:807: warning: type defaults to `int' in declaration of `object' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:807: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:814: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:814: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:815: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:815: warning: type defaults to `int' in declaration of `swLock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:815: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:820: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:820: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:823: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:823: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:827: error: conflicting types for 'free' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:814: error: previous declaration of 'free' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:828: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:828: warning: type defaults to `int' in declaration of `swCond' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:828: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:921: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:923: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:924: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:925: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:926: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:928: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:930: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:931: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1389: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1389: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1398: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1398: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1401: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h: In function `swProcessPool_get_worker': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1559: error: invalid use of undefined type `struct _swWorker' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1559: error: dereferencing pointer to incomplete type /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h: At top level: /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1581: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1581: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1583: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1583: warning: type defaults to `int' in declaration of `swChannel' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1583: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1585: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1585: warning: type defaults to `int' in declaration of `swChannel_new' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1585: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1586: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1587: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1588: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1589: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1590: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1591: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1592: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1712: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1712: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1713: warning: type defaults to `int' in declaration of `lock_2' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1713: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1718: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1718: warning: type defaults to `int' in declaration of `swServerGS' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1718: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1859: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1859: warning: type defaults to `int' in declaration of `SwooleGS' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1859: warning: data definition has no type or storage class In file included from /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:17: /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h: In function `sw_spinlock': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1880: warning: implicit declaration of function `__sync_bool_compare_and_swap' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c: In function `swRingQueue_init': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c: In function `swRingQueue_free': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:114: warning: passing arg 1 of pointer to function from incompatible pointer type make64: *** [src/core/RingQueue.lo] Error 1 }}}
发布于6年前 · 1 次浏览 · 来自
提问
m
michael
在编译swoole扩展时报这个错,请问是什么原因呀?swoole版本是1.8.13,php是5.6.27 {{{ In file included from /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:17: /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:767: error: syntax error before "pthread_rwlock_t" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:767: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:768: warning: type defaults to `int' in declaration of `attr' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:768: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:770: warning: type defaults to `int' in declaration of `swRWLock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:770: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:776: error: syntax error before "pthread_spinlock_t" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:776: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:777: warning: type defaults to `int' in declaration of `swSpinLock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:777: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:799: error: syntax error before "swRWLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:799: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:799: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:802: warning: type defaults to `int' in declaration of `spinlock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:802: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:807: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:807: warning: type defaults to `int' in declaration of `object' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:807: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:814: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:814: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:815: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:815: warning: type defaults to `int' in declaration of `swLock' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:815: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:820: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:820: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:823: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:823: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:827: error: conflicting types for 'free' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:814: error: previous declaration of 'free' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:828: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:828: warning: type defaults to `int' in declaration of `swCond' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:828: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:921: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:923: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:924: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:925: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:926: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:928: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:930: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:931: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1389: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1389: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1398: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1398: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1401: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h: In function `swProcessPool_get_worker': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1559: error: invalid use of undefined type `struct _swWorker' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1559: error: dereferencing pointer to incomplete type /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h: At top level: /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1581: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1581: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1583: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1583: warning: type defaults to `int' in declaration of `swChannel' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1583: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1585: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1585: warning: type defaults to `int' in declaration of `swChannel_new' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1585: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1586: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1587: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1588: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1589: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1590: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1591: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1592: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1712: error: syntax error before "swLock" /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1712: warning: no semicolon at end of struct or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1713: warning: type defaults to `int' in declaration of `lock_2' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1713: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1718: error: syntax error before '}' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1718: warning: type defaults to `int' in declaration of `swServerGS' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1718: warning: data definition has no type or storage class /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1859: error: syntax error before '*' token /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1859: warning: type defaults to `int' in declaration of `SwooleGS' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1859: warning: data definition has no type or storage class In file included from /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:17: /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h: In function `sw_spinlock': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/include/swoole.h:1880: warning: implicit declaration of function `__sync_bool_compare_and_swap' /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c: In function `swRingQueue_init': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:102: error: request for member `lock_2' in something not a structure or union /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c: In function `swRingQueue_free': /home/users/xiajing01/swoole/install/swoole-src-1.8.12-stable/src/core/RingQueue.c:114: warning: passing arg 1 of pointer to function from incompatible pointer type make64: *** [src/core/RingQueue.lo] Error 1 }}}
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2018-03-22
J
JackDx
gcc版本过低,必须使用gcc 4.4或更高版本。
赞
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一直是同一个。没用使用到多进程啊。