Swoole compilation error prompts unknown type name 'swBuffer_trunk'

error compiling Swoole

compile command:

./configure \
--with-php-config=/Applications/MAMP/bin/php/php5.6.30/bin/php-config \
--enable-coroutine \
--enable-openssl  \
--enable-http2  \
--enable-async-redis \
--enable-sockets \
--enable-mysqlnd && \
make clean && make && sudo make install

Environment: MacOS PHP5.6.30 GCC4.9

Apr.05,2021

it is recommended to try another version of swoole

Menu