首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
swoole-src-swoole-1.7.19-stable编译出错
[jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com swoole-src-swoole-1.7.19-stable]$ make /bin/sh /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/libtool --mode=compile cc -I. -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -DPHP_ATOM_INC -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/main -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -I/home/ssd2/jiangzhichao01/local/php/include/php -I/home/ssd2/jiangzhichao01/local/php/include/php/main -I/home/ssd2/jiangzhichao01/local/php/include/php/TSRM -I/home/ssd2/jiangzhichao01/local/php/include/php/Zend -I/home/ssd2/jiangzhichao01/local/php/include/php/ext -I/home/ssd2/jiangzhichao01/local/php/include/php/ext/date/lib -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c -o swoole.lo cc -I. -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -DPHP_ATOM_INC -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/main -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -I/home/ssd2/jiangzhichao01/local/php/include/php -I/home/ssd2/jiangzhichao01/local/php/include/php/main -I/home/ssd2/jiangzhichao01/local/php/include/php/TSRM -I/home/ssd2/jiangzhichao01/local/php/include/php/Zend -I/home/ssd2/jiangzhichao01/local/php/include/php/ext -I/home/ssd2/jiangzhichao01/local/php/include/php/ext/date/lib -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c -fPIC -DPIC -o .libs/swoole.o In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:38, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:652: error: syntax error before "pthread_rwlock_t" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:652: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:653: warning: type defaults to `int' in declaration of `attr' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:653: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:655: warning: type defaults to `int' in declaration of `swRWLock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:655: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:661: error: syntax error before "pthread_spinlock_t" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:661: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:662: warning: type defaults to `int' in declaration of `swSpinLock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:662: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:684: error: syntax error before "swRWLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:684: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:684: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:687: warning: type defaults to `int' in declaration of `spinlock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:687: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:692: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:692: warning: type defaults to `int' in declaration of `object' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:692: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:699: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:699: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:700: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:700: warning: type defaults to `int' in declaration of `swLock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:700: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:705: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:705: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:708: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:708: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:712: error: conflicting types for 'free' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:699: error: previous declaration of 'free' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:713: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:713: warning: type defaults to `int' in declaration of `swCond' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:713: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:806: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:808: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:809: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:810: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:811: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:813: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:815: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:816: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1198: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1198: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1207: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1207: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1210: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h: In function `swProcessPool_get_worker': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1356: error: invalid use of undefined type `struct _swWorker' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1356: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h: At top level: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1378: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1378: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1380: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1380: warning: type defaults to `int' in declaration of `swChannel' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1380: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1382: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1382: warning: type defaults to `int' in declaration of `swChannel_new' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1382: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1383: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1384: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1385: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1386: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1387: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1388: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1389: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1522: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1522: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1528: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1528: warning: type defaults to `int' in declaration of `swServerGS' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1528: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1655: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1655: warning: type defaults to `int' in declaration of `SwooleGS' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1655: warning: data definition has no type or storage class In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:38, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h: In function `sw_spinlock': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1683: warning: implicit declaration of function `__sync_bool_compare_and_swap' In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:39, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: At top level: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:125: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:125: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:127: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:127: warning: type defaults to `int' in declaration of `swReactorThread' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:127: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:426: error: syntax error before "swReactorThread" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:426: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:430: error: syntax error before "barrier" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:430: warning: type defaults to `int' in declaration of `barrier' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:430: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:464: error: 'send' redeclared as different kind of symbol /usr/include/sys/socket.h:136: error: previous declaration of 'send' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:464: error: 'send' redeclared as different kind of symbol /usr/include/sys/socket.h:136: error: previous declaration of 'send' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:465: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_package_integrity': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_connection_get': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:617: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:623: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_get_session': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:629: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_get_fd': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:634: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_get_worker': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:640: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:645: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:647: error: request for member `task_workers' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:647: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:651: error: request for member `event_workers' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_worker_schedule': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:660: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:662: warning: implicit declaration of function `__sync_fetch_and_add' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:662: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:662: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:665: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:667: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:670: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:676: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:681: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:690: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:694: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:699: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:703: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:707: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:714: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:716: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:716: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:717: error: dereferencing pointer to incomplete type In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:119, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php7_wrapper.h: In function `sw_zend_hash_find': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php7_wrapper.h:30: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c: In function `zm_shutdown_swoole': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:634: warning: passing arg 1 of pointer to function from incompatible pointer type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:638: warning: passing arg 1 of pointer to function from incompatible pointer type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c: In function `zm_deactivate_swoole': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:764: error: request for member `start' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union make: *** [swoole.lo] 错误 1 如图所示,这是操作系统和内核版本 [jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com bin]$ gcc -v Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) [jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com bin]$ [jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com bin]$ lsb_release -a LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch Distributor ID: CentOS Description: CentOS release 4.3 (Final) Release: 4.3 Codename: Final 麻烦大神帮忙看下,谢谢!
发布于7年前 · 3 次浏览 · 来自
提问
骑
骑着夕阳看朝阳
[jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com swoole-src-swoole-1.7.19-stable]$ make /bin/sh /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/libtool --mode=compile cc -I. -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -DPHP_ATOM_INC -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/main -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -I/home/ssd2/jiangzhichao01/local/php/include/php -I/home/ssd2/jiangzhichao01/local/php/include/php/main -I/home/ssd2/jiangzhichao01/local/php/include/php/TSRM -I/home/ssd2/jiangzhichao01/local/php/include/php/Zend -I/home/ssd2/jiangzhichao01/local/php/include/php/ext -I/home/ssd2/jiangzhichao01/local/php/include/php/ext/date/lib -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c -o swoole.lo cc -I. -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -DPHP_ATOM_INC -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/main -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable -I/home/ssd2/jiangzhichao01/local/php/include/php -I/home/ssd2/jiangzhichao01/local/php/include/php/main -I/home/ssd2/jiangzhichao01/local/php/include/php/TSRM -I/home/ssd2/jiangzhichao01/local/php/include/php/Zend -I/home/ssd2/jiangzhichao01/local/php/include/php/ext -I/home/ssd2/jiangzhichao01/local/php/include/php/ext/date/lib -I/home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c -fPIC -DPIC -o .libs/swoole.o In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:38, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:652: error: syntax error before "pthread_rwlock_t" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:652: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:653: warning: type defaults to `int' in declaration of `attr' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:653: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:655: warning: type defaults to `int' in declaration of `swRWLock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:655: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:661: error: syntax error before "pthread_spinlock_t" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:661: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:662: warning: type defaults to `int' in declaration of `swSpinLock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:662: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:684: error: syntax error before "swRWLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:684: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:684: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:687: warning: type defaults to `int' in declaration of `spinlock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:687: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:692: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:692: warning: type defaults to `int' in declaration of `object' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:692: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:699: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:699: error: 'free' redeclared as different kind of symbol /usr/include/stdlib.h:597: error: previous declaration of 'free' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:700: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:700: warning: type defaults to `int' in declaration of `swLock' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:700: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:705: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:705: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:708: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:708: error: 'wait' redeclared as different kind of symbol /usr/include/sys/wait.h:115: error: previous declaration of 'wait' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:712: error: conflicting types for 'free' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:699: error: previous declaration of 'free' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:713: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:713: warning: type defaults to `int' in declaration of `swCond' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:713: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:806: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:808: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:809: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:810: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:811: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:813: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:815: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:816: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1198: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1198: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1207: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1207: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:369: error: previous declaration of 'pipe' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1210: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h: In function `swProcessPool_get_worker': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1356: error: invalid use of undefined type `struct _swWorker' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1356: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h: At top level: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1378: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1378: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1380: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1380: warning: type defaults to `int' in declaration of `swChannel' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1380: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1382: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1382: warning: type defaults to `int' in declaration of `swChannel_new' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1382: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1383: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1384: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1385: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1386: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1387: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1388: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1389: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1522: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1522: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1528: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1528: warning: type defaults to `int' in declaration of `swServerGS' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1528: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1655: error: syntax error before '*' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1655: warning: type defaults to `int' in declaration of `SwooleGS' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1655: warning: data definition has no type or storage class In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:38, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h: In function `sw_spinlock': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/swoole.h:1683: warning: implicit declaration of function `__sync_bool_compare_and_swap' In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:39, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: At top level: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:125: error: syntax error before "swLock" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:125: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:127: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:127: warning: type defaults to `int' in declaration of `swReactorThread' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:127: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:426: error: syntax error before "swReactorThread" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:426: warning: no semicolon at end of struct or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:430: error: syntax error before "barrier" /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:430: warning: type defaults to `int' in declaration of `barrier' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:430: warning: data definition has no type or storage class /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:464: error: 'send' redeclared as different kind of symbol /usr/include/sys/socket.h:136: error: previous declaration of 'send' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:464: error: 'send' redeclared as different kind of symbol /usr/include/sys/socket.h:136: error: previous declaration of 'send' was here /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:465: error: syntax error before '}' token /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_package_integrity': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:548: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_connection_get': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:617: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:623: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_get_session': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:629: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_get_fd': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:634: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_get_worker': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:640: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:642: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:645: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:647: error: request for member `task_workers' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:647: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:651: error: request for member `event_workers' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h: In function `swServer_worker_schedule': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:660: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:662: warning: implicit declaration of function `__sync_fetch_and_add' /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:662: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:662: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:665: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:667: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:670: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:676: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:681: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:690: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:694: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:699: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:703: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:707: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:714: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:716: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:716: error: dereferencing pointer to incomplete type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/include/Server.h:717: error: dereferencing pointer to incomplete type In file included from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php_swoole.h:119, from /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:19: /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php7_wrapper.h: In function `sw_zend_hash_find': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/php7_wrapper.h:30: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c: In function `zm_shutdown_swoole': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:634: warning: passing arg 1 of pointer to function from incompatible pointer type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:638: warning: passing arg 1 of pointer to function from incompatible pointer type /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c: In function `zm_deactivate_swoole': /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:764: error: request for member `start' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:774: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union /home/ssd2/jiangzhichao01/software/swoole-src-swoole-1.7.19-stable/swoole.c:783: error: request for member `lock' in something not a structure or union make: *** [swoole.lo] 错误 1 如图所示,这是操作系统和内核版本 [jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com bin]$ gcc -v Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) [jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com bin]$ [jiangzhichao01@cq01-zhengxin-dev.cq01.baidu.com bin]$ lsb_release -a LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch Distributor ID: CentOS Description: CentOS release 4.3 (Final) Release: 4.3 Codename: Final 麻烦大神帮忙看下,谢谢!
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2017-01-20
宋
宋小鱼
gcc版本过低,编译swoole要求最低要求 `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一直是同一个。没用使用到多进程啊。