swoole-src icon indicating copy to clipboard operation
swoole-src copied to clipboard

[5.0.0] error: using HttpContext ... has no member named 'compression_types'

Open ddzobov opened this issue 2 years ago • 1 comments

MBP 16 M1 Pro Docker php:8.1-cli

pecl install swoole

#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc: In lambda function:
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:326:30: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'accept_compression'
#0 72.36   326 |                     if (ctx->accept_compression && ctx->compression_types) {
#0 72.36       |                              ^~~~~~~~~~~~~~~~~~
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:326:57: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'compression_types'
#0 72.36   326 |                     if (ctx->accept_compression && ctx->compression_types) {
#0 72.36       |                                                         ^~~~~~~~~~~~~~~~~
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc: In function 'ssize_t http2_server_build_header(HttpContext*, uchar*, const swoole::String*)':
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:350:18: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'accept_compression'
#0 72.36   350 |         if (ctx->accept_compression && ctx->compression_types) {
#0 72.36       |                  ^~~~~~~~~~~~~~~~~~
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:350:45: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'compression_types'
#0 72.36   350 |         if (ctx->accept_compression && ctx->compression_types) {
#0 72.36       |                                             ^~~~~~~~~~~~~~~~~
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:353:18: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'accept_compression'
#0 72.36   353 |             ctx->accept_compression = ctx->compression_types->find(str_content_type) != ctx->compression_types->end();
#0 72.36       |                  ^~~~~~~~~~~~~~~~~~
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:353:44: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'compression_types'
#0 72.36   353 |             ctx->accept_compression = ctx->compression_types->find(str_content_type) != ctx->compression_types->end();
#0 72.36       |                                            ^~~~~~~~~~~~~~~~~
#0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:353:94: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no member named 'compression_types'
#0 72.36   353 |             ctx->accept_compression = ctx->compression_types->find(str_content_type) != ctx->compression_types->end();
#0 72.36       |                                                                                              ^~~~~~~~~~~~~~~~~
#0 72.49 make: *** [Makefile:250: ext-src/swoole_http2_server.lo] Error 1
#0 72.63 ERROR: `make' failed

pecl install swoole-4.8.11 fixes this issue.

ddzobov avatar Aug 08 '22 20:08 ddzobov

I will have a look as soon as possible.

NathanFreeman avatar Aug 09 '22 16:08 NathanFreeman

Same Here, But on a Ubuntu Ubuntu 22.04.1 php 8.1

iuriag avatar Aug 12 '22 11:08 iuriag

Same issue, on wsl ubuntu, php8.1

ymuddje avatar Aug 15 '22 01:08 ymuddje

@ddzobov @iuriag @ymuddje Hi. Can you please provide the log when executing pecl install swoole to me?

NathanFreeman avatar Aug 15 '22 03:08 NathanFreeman

$ sudo pecl install swoole downloading swoole-5.0.0.tgz ... Starting to download swoole-5.0.0.tgz (2,136,037 bytes) .....................................................................................................................................................................................................................................................................................................................................................................................................................................done: 2,136,037 bytes 469 source files, building running: phpize Configuring for: PHP Api Version: 20210902 Zend Module Api No: 20210902 Zend Extension Api No: 420210902 enable sockets supports? [no] : yes enable openssl support? [no] : yes enable mysqlnd support? [no] : yes enable curl support? [no] : yes enable cares support? [no] : yes building in /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0 running: /tmp/pear/temp/swoole/configure --with-php-config=/usr/bin/php-config --enable-sockets=yes --enable-openssl=yes --enable-mysqlnd=yes --enable-swoole-curl=yes --enable-cares=yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib checking for PHP extension directory... /usr/lib/php/20210902 checking for PHP installed headers prefix... /usr/include/php/20210902 checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking enable debug log... no checking enable trace log... no checking enable sockets support... yes checking enable openssl support... yes checking swoole support... yes, shared checking enable mysqlnd support... yes checking enable c-ares support... yes checking dir of openssl... no checking dir of jemalloc... no checking enable asan... no checking whether to enable swoole coverage support... no checking whether to enable Swoole developer build flags... no checking whether to enable Swoole CURL build flags... yes checking whether to enable postgresql build flags... no checking whether to enable thread context... no checking whether to enable coroutine execution time ... no checking if compiling with clang... no checking for cc option to accept ISO C99... none needed checking for accept4 in -lc... yes checking for signalfd in -lc... yes checking for eventfd in -lc... yes checking for epoll_create in -lc... yes checking for poll in -lc... yes checking for sendfile in -lc... yes checking for kqueue in -lc... no checking for backtrace in -lc... yes checking for daemon in -lc... yes checking for mkostemp in -lc... yes checking for inotify_init in -lc... yes checking for malloc_trim in -lc... yes checking for inotify_init1 in -lc... yes checking for ptrace in -lc... yes checking for getrandom in -lc... yes checking for arc4random in -lc... no checking for CCRandomGenerateBytes in -lc... no checking for pthread_rwlock_init in -lpthread... yes checking for pthread_spin_lock in -lpthread... yes checking for pthread_mutex_timedlock in -lpthread... yes checking for pthread_barrier_init in -lpthread... yes checking for pthread_mutexattr_setpshared in -lpthread... yes checking for pthread_mutexattr_setrobust in -lpthread... yes checking for pthread_mutex_consistent in -lpthread... yes checking for pcre_compile in -lpcre... no checking for ares_gethostbyname in -lcares... yes checking for gzgets in -lz... no checking for BrotliEncoderCreateInstance in -lbrotlienc... no checking for php_sockets.h... ok, found in /usr/include/php/20210902 checking for cpu affinity... yes checking for socket REUSEPORT... yes checking for futex... yes checking for ucontext... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for valgrind... no checking for struct cmsghdr... yes checking for hstrerror... yes checking for socketpair... yes checking for if_nametoindex... yes checking for if_indextoname... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for field ss_family in struct sockaddr_storage... yes checking if getaddrinfo supports AI_V4MAPPED... yes checking if getaddrinfo supports AI_ALL... yes checking if getaddrinfo supports AI_IDN... no checking if gethostbyname2_r is supported... yes checking for valgrind... no checking swoole coverage... disabled checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/php_swoole.cc -o ext-src/php_swoole.lo -MMD -MF ext-src/php_swoole.dep -MT ext-src/php_swoole.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/php_swoole.cc -MMD -MF ext-src/php_swoole.dep -MT ext-src/php_swoole.lo -fPIC -DPIC -o ext-src/.libs/php_swoole.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/php_swoole_cxx.cc -o ext-src/php_swoole_cxx.lo -MMD -MF ext-src/php_swoole_cxx.dep -MT ext-src/php_swoole_cxx.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/php_swoole_cxx.cc -MMD -MF ext-src/php_swoole_cxx.dep -MT ext-src/php_swoole_cxx.lo -fPIC -DPIC -o ext-src/.libs/php_swoole_cxx.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_admin_server.cc -o ext-src/swoole_admin_server.lo -MMD -MF ext-src/swoole_admin_server.dep -MT ext-src/swoole_admin_server.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_admin_server.cc -MMD -MF ext-src/swoole_admin_server.dep -MT ext-src/swoole_admin_server.lo -fPIC -DPIC -o ext-src/.libs/swoole_admin_server.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_async_coro.cc -o ext-src/swoole_async_coro.lo -MMD -MF ext-src/swoole_async_coro.dep -MT ext-src/swoole_async_coro.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_async_coro.cc -MMD -MF ext-src/swoole_async_coro.dep -MT ext-src/swoole_async_coro.lo -fPIC -DPIC -o ext-src/.libs/swoole_async_coro.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_atomic.cc -o ext-src/swoole_atomic.lo -MMD -MF ext-src/swoole_atomic.dep -MT ext-src/swoole_atomic.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_atomic.cc -MMD -MF ext-src/swoole_atomic.dep -MT ext-src/swoole_atomic.lo -fPIC -DPIC -o ext-src/.libs/swoole_atomic.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_channel_coro.cc -o ext-src/swoole_channel_coro.lo -MMD -MF ext-src/swoole_channel_coro.dep -MT ext-src/swoole_channel_coro.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_channel_coro.cc -MMD -MF ext-src/swoole_channel_coro.dep -MT ext-src/swoole_channel_coro.lo -fPIC -DPIC -o ext-src/.libs/swoole_channel_coro.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_client.cc -o ext-src/swoole_client.lo -MMD -MF ext-src/swoole_client.dep -MT ext-src/swoole_client.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_client.cc -MMD -MF ext-src/swoole_client.dep -MT ext-src/swoole_client.lo -fPIC -DPIC -o ext-src/.libs/swoole_client.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_client_coro.cc -o ext-src/swoole_client_coro.lo -MMD -MF ext-src/swoole_client_coro.dep -MT ext-src/swoole_client_coro.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_client_coro.cc -MMD -MF ext-src/swoole_client_coro.dep -MT ext-src/swoole_client_coro.lo -fPIC -DPIC -o ext-src/.libs/swoole_client_coro.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_coroutine.cc -o ext-src/swoole_coroutine.lo -MMD -MF ext-src/swoole_coroutine.dep -MT ext-src/swoole_coroutine.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_coroutine.cc -MMD -MF ext-src/swoole_coroutine.dep -MT ext-src/swoole_coroutine.lo -fPIC -DPIC -o ext-src/.libs/swoole_coroutine.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_coroutine_scheduler.cc -o ext-src/swoole_coroutine_scheduler.lo -MMD -MF ext-src/swoole_coroutine_scheduler.dep -MT ext-src/swoole_coroutine_scheduler.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_coroutine_scheduler.cc -MMD -MF ext-src/swoole_coroutine_scheduler.dep -MT ext-src/swoole_coroutine_scheduler.lo -fPIC -DPIC -o ext-src/.libs/swoole_coroutine_scheduler.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_coroutine_system.cc -o ext-src/swoole_coroutine_system.lo -MMD -MF ext-src/swoole_coroutine_system.dep -MT ext-src/swoole_coroutine_system.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_coroutine_system.cc -MMD -MF ext-src/swoole_coroutine_system.dep -MT ext-src/swoole_coroutine_system.lo -fPIC -DPIC -o ext-src/.libs/swoole_coroutine_system.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_curl.cc -o ext-src/swoole_curl.lo -MMD -MF ext-src/swoole_curl.dep -MT ext-src/swoole_curl.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_curl.cc -MMD -MF ext-src/swoole_curl.dep -MT ext-src/swoole_curl.lo -fPIC -DPIC -o ext-src/.libs/swoole_curl.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_event.cc -o ext-src/swoole_event.lo -MMD -MF ext-src/swoole_event.dep -MT ext-src/swoole_event.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_event.cc -MMD -MF ext-src/swoole_event.dep -MT ext-src/swoole_event.lo -fPIC -DPIC -o ext-src/.libs/swoole_event.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_http2_client_coro.cc -o ext-src/swoole_http2_client_coro.lo -MMD -MF ext-src/swoole_http2_client_coro.dep -MT ext-src/swoole_http2_client_coro.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_http2_client_coro.cc -MMD -MF ext-src/swoole_http2_client_coro.dep -MT ext-src/swoole_http2_client_coro.lo -fPIC -DPIC -o ext-src/.libs/swoole_http2_client_coro.o /bin/bash /tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/libtool --mode=compile g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc -o ext-src/swoole_http2_server.lo -MMD -MF ext-src/swoole_http2_server.dep -MT ext-src/swoole_http2_server.lo libtool: compile: g++ -I. -I/tmp/pear/temp/swoole -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/include -I/tmp/pear/temp/pear-build-rootAQW7vd/swoole-5.0.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include -I/tmp/pear/temp/swoole/stubs -I/tmp/pear/temp/swoole/ext-src -I/tmp/pear/temp/swoole/thirdparty -I/tmp/pear/temp/swoole/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DENABLE_PHP_SWOOLE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc -MMD -MF ext-src/swoole_http2_server.dep -MT ext-src/swoole_http2_server.lo -fPIC -DPIC -o ext-src/.libs/swoole_http2_server.o /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc: In lambda function: /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:326:30: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘accept_compression’ 326 | if (ctx->accept_compression && ctx->compression_types) { | ^~~~~~~~~~~~~~~~~~ /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:326:57: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘compression_types’ 326 | if (ctx->accept_compression && ctx->compression_types) { | ^~~~~~~~~~~~~~~~~ /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc: In function ‘ssize_t http2_server_build_header(HttpContext*, uchar*, const swoole::String*)’: /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:350:18: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘accept_compression’ 350 | if (ctx->accept_compression && ctx->compression_types) { | ^~~~~~~~~~~~~~~~~~ /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:350:45: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘compression_types’ 350 | if (ctx->accept_compression && ctx->compression_types) { | ^~~~~~~~~~~~~~~~~ /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:353:18: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘accept_compression’ 353 | ctx->accept_compression = ctx->compression_types->find(str_content_type) != ctx->compression_types->end(); | ^~~~~~~~~~~~~~~~~~ /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:353:44: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘compression_types’ 353 | ctx->accept_compression = ctx->compression_types->find(str_content_type) != ctx->compression_types->end(); | ^~~~~~~~~~~~~~~~~ /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:353:94: error: ‘using HttpContext = struct swoole::http::Context’ {aka ‘struct swoole::http::Context’} has no member named ‘compression_types’ 353 | ctx->accept_compression = ctx->compression_types->find(str_content_type) != ctx->compression_types->end(); | ^~~~~~~~~~~~~~~~~ make: *** [Makefile:250: ext-src/swoole_http2_server.lo] Error 1 ERROR: `make' failed

PHP 8.1.8 (cli) (built: Jul 11 2022 08:29:57) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.8, Copyright (c) Zend Technologies with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies

[PHP Modules] bcmath calendar Core ctype curl date dom exif FFI fileinfo filter ftp gd gettext hash iconv igbinary intl json libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql Phar posix readline redis Reflection session shmop SimpleXML soap sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib

[Zend Modules] Zend OPcache

@NathanFreeman

ymuddje avatar Aug 15 '22 06:08 ymuddje

Same Here, on Ubuntu 22.04.1 php 8.1

any suggestion?

miladev95 avatar Aug 15 '22 10:08 miladev95

I don't know what your software version is? gcc? I successfully installed Ubuntu 22 PHP 8.1

xywf221 avatar Aug 16 '22 02:08 xywf221

@ddzobov @iuriag @ymuddje @miladev95 Hi! Please execute this command to see swoole version. cat /tmp/pear/temp/swoole/include/swoole_version.h | grep SWOOLE_VERSION_ID

NathanFreeman avatar Aug 16 '22 02:08 NathanFreeman

pull latest master branch code from swoole-src, execute: cd swoole-src &&
phpize &&
./configure &&
make && sudo make install problem fixed.

ymuddje avatar Aug 16 '22 03:08 ymuddje

Missing zlib library, fixed in latest code in master branch

matyhtf avatar Aug 25 '22 14:08 matyhtf