-
Notifications
You must be signed in to change notification settings - Fork 21
Installation error #76
Comments
+1 same here. need fix. |
What version of Swoole are you using (show your |
using ext-postgresql-4.8.0 build under Mac OSX Monterey uname -a
gcc -v
php -v
php --ri swoole
openssl
libpq
configure as below
make error occur
Thanks for quick response. Need other logs? please let me know. |
error: "Ext version does not match the Swoole version" |
把这个文件的版本号改掉就行了php_swoole_postgresql.h #if SWOOLE_VERSION_ID < 40808 |
swoole version 4.5.11, version number changed, still throw exception after make, log as below, please help
|
只有4.8以上版本才能这样改,之前的我测试过不行 |
你看下每次发布release的时候官方也是这样改的,然后我测试了下确实可以 |
Ok, will try to build under 4.8 and report back. Thanks. |
Still no lucky, this is frustrating. php --ri swoole
The above indicate the openssl is enabled in swoole. openssl install locationls /usr/local/Cellar/openssl@3/3.0.1
AUTHORS.md INSTALL_RECEIPT.json NEWS.md bin lib
CHANGES.md LICENSE.txt README.md include share
ls /usr/local/Cellar/openssl@3/3.0.1/lib
engines-3 libcrypto.3.dylib libcrypto.a libcrypto.dylib libssl.3.dylib libssl.a libssl.dylib ossl-modules pkgconfig
tried to configure with or without
|
I will try 4.8.10
swatchion ***@***.***> 于2022年6月8日周三 15:36写道:
… Still no lucky, this is frustrating.
php --ri swoole
swoole
Swoole => enabled
Author => Swoole Team ***@***.***>
Version => 4.8.10
Built => Jun 8 2022 14:55:38
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
openssl => OpenSSL 3.0.1 14 Dec 2021
dtls => enabled
http2 => enabled
pcre => enabled
zlib => 1.2.11
brotli => E16777225/D16777225
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144
The above indicate the openssl is enabled in swoole.
openssl install location
ls ***@***.***/3.0.1
AUTHORS.md INSTALL_RECEIPT.json NEWS.md bin lib
CHANGES.md LICENSE.txt README.md include share
ls ***@***.***/3.0.1/lib
engines-3 libcrypto.3.dylib libcrypto.a libcrypto.dylib libssl.3.dylib libssl.a libssl.dylib ossl-modules pkgconfig
tried to configure with or without
***@***.***/3.0.1 before make, both
give the error as below:
/bin/sh /Users/******/env_base/ext-postgresql-4.8.0/libtool --mode=compile g++ -I. -I/Users/******/env_base/ext-postgresql-4.8.0 -I/Users/******/env_base/ext-postgresql-4.8.0/include -I/Users/******/env_base/ext-postgresql-4.8.0/main -I/Users/******/env_base/ext-postgresql-4.8.0 ***@***.***/8.0.19/include/php ***@***.***/8.0.19/include/php/main ***@***.***/8.0.19/include/php/TSRM ***@***.***/8.0.19/include/php/Zend ***@***.***/8.0.19/include/php/ext ***@***.***/8.0.19/include/php/ext/date/lib -I/usr/local/Cellar/libpq/14.3/include -I/Users/******/env_base/ext-postgresql-4.8.0 -I/Users/******/env_base/ext-postgresql-4.8.0/include ***@***.***/8.0.19/include/php/ext/swoole ***@***.***/8.0.19/include/php/ext/swoole/include -I/usr/local/opt/libpq/include -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc -o swoole_postgresql.lo
mkdir .libs
g++ -I. -I/Users/******/env_base/ext-postgresql-4.8.0 -I/Users/******/env_base/ext-postgresql-4.8.0/include -I/Users/******/env_base/ext-postgresql-4.8.0/main -I/Users/******/env_base/ext-postgresql-4.8.0 ***@***.***/8.0.19/include/php ***@***.***/8.0.19/include/php/main ***@***.***/8.0.19/include/php/TSRM ***@***.***/8.0.19/include/php/Zend ***@***.***/8.0.19/include/php/ext ***@***.***/8.0.19/include/php/ext/date/lib -I/usr/local/Cellar/libpq/14.3/include -I/Users/******/env_base/ext-postgresql-4.8.0 -I/Users/******/env_base/ext-postgresql-4.8.0/include ***@***.***/8.0.19/include/php/ext/swoole ***@***.***/8.0.19/include/php/ext/swoole/include -I/usr/local/opt/libpq/include -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc -fno-common -DPIC -o .libs/swoole_postgresql.o
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:25:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:99:2: error: "Enable openssl support, require openssl library"
#error "Enable openssl support, require openssl library"
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:161:23: error: ISO C++ forbids forward references to 'enum' types
static sw_inline enum swSocket_type php_swoole_socktype(long type)
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:161:37: error: incomplete result type 'enum swSocket_type' in function definition
static sw_inline enum swSocket_type php_swoole_socktype(long type)
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:161:23: note: forward declaration of 'swSocket_type'
static sw_inline enum swSocket_type php_swoole_socktype(long type)
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:163:12: error: 'enum swSocket_type' is an incomplete type
return (enum swSocket_type) (type & (~SW_FLAG_SYNC) & (~SW_FLAG_ASYNC) & (~SW_FLAG_KEEP) & (~SW_SOCK_SSL));
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:161:23: note: forward declaration of 'swSocket_type'
static sw_inline enum swSocket_type php_swoole_socktype(long type)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:54:9: warning: 'PHP_SWOOLE_API' macro redefined [-Wmacro-redefined]
#define PHP_SWOOLE_API __attribute__((visibility("default")))
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:79:10: note: previous definition is here
# define PHP_SWOOLE_API __attribute__ ((visibility("default")))
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:59:9: warning: 'SW_CHECK_RETURN' macro redefined [-Wmacro-redefined]
#define SW_CHECK_RETURN(s) \
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:84:9: note: previous definition is here
#define SW_CHECK_RETURN(s) if(s<0){RETURN_FALSE;}else{RETURN_TRUE;}
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:65:9: warning: 'SW_LOCK_CHECK_RETURN' macro redefined [-Wmacro-redefined]
#define SW_LOCK_CHECK_RETURN(s) \
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:85:9: note: previous definition is here
#define SW_LOCK_CHECK_RETURN(s) if(s==0){RETURN_TRUE;}else{zend_update_property_long(NULL,SW_Z8_OBJ_P(ZEND_THIS),SW_STRL("errCode"),s);RETURN_FALSE;}
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:106:6: error: redefinition of 'php_swoole_client_callback_type'
enum php_swoole_client_callback_type {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:116:6: note: previous definition is here
enum php_swoole_client_callback_type
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:122:6: error: redefinition of 'php_swoole_fd_type'
enum php_swoole_fd_type {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:133:6: note: previous definition is here
enum php_swoole_fd_type
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:136:6: error: definition of type 'php_swoole_req_status' conflicts with typedef of the same name
enum php_swoole_req_status {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:158:3: note: 'php_swoole_req_status' declared here
} php_swoole_req_status;
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:277:28: error: redefinition of 'php_swoole_websocket_frame_is_object'
static sw_inline zend_bool php_swoole_websocket_frame_is_object(zval *zdata) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:275:28: note: previous definition is here
static sw_inline zend_bool php_swoole_websocket_frame_is_object(zval *zdata)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:281:25: error: redefinition of 'php_swoole_get_send_data'
static sw_inline size_t php_swoole_get_send_data(zval *zdata, char **str) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:280:25: note: previous definition is here
static sw_inline size_t php_swoole_get_send_data(zval *zdata, char **str)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:445:28: error: redefinition of 'ZVAL_IS_BOOL'
static sw_inline zend_bool ZVAL_IS_BOOL(zval *v) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:452:28: note: previous definition is here
static sw_inline zend_bool ZVAL_IS_BOOL(zval *v)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:463:28: error: redefinition of 'ZVAL_IS_LONG'
static sw_inline zend_bool ZVAL_IS_LONG(zval *v) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:459:28: note: previous definition is here
static sw_inline zend_bool ZVAL_IS_LONG(zval *v)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:469:28: error: redefinition of 'ZVAL_IS_STRING'
static sw_inline zend_bool ZVAL_IS_STRING(zval *v) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:466:28: note: previous definition is here
static sw_inline zend_bool ZVAL_IS_STRING(zval *v)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:475:28: error: redefinition of 'Z_BVAL_P'
static sw_inline zend_bool Z_BVAL_P(zval *v) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:473:28: note: previous definition is here
static sw_inline zend_bool Z_BVAL_P(zval *v)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:481:28: error: redefinition of 'ZVAL_IS_ARRAY'
static sw_inline zend_bool ZVAL_IS_ARRAY(zval *v) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:480:28: note: previous definition is here
static sw_inline zend_bool ZVAL_IS_ARRAY(zval *v)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:496:24: error: redefinition of 'sw_malloc_zval'
static sw_inline zval *sw_malloc_zval() {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:486:24: note: previous definition is here
static sw_inline zval *sw_malloc_zval()
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:500:24: error: redefinition of 'sw_zval_dup'
static sw_inline zval *sw_zval_dup(zval *val) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:504:24: note: previous definition is here
static sw_inline zval *sw_zval_dup(zval *val)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:506:23: error: redefinition of 'sw_zval_free'
static sw_inline void sw_zval_free(zval *val) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:511:23: note: previous definition is here
static sw_inline void sw_zval_free(zval *val)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:538:31: error: redefinition of 'sw_zend_string_recycle'
static sw_inline zend_string *sw_zend_string_recycle(zend_string *s, size_t alloc_len, size_t real_len) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:541:31: note: previous definition is here
static sw_inline zend_string* sw_zend_string_recycle(zend_string *s, size_t alloc_len, size_t real_len)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:554:9: warning: 'php_swoole_array_get_value' macro redefined [-Wmacro-redefined]
#define php_swoole_array_get_value(ht, str, v) ((v = zend_hash_str_find(ht, str, sizeof(str) - 1)) && !ZVAL_IS_NULL(v))
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:562:9: note: previous definition is here
#define php_swoole_array_get_value(ht, str, v) ((v = zend_hash_str_find(ht, str, sizeof(str)-1)) && !ZVAL_IS_NULL(v))
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:557:22: error: redefinition of 'php_swoole_array_length_safe'
static sw_inline int php_swoole_array_length_safe(zval *zarray) {
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:564:22: note: previous definition is here
static sw_inline int php_swoole_array_length_safe(zval *zarray)
^
In file included from /Users/******/env_base/ext-postgresql-4.8.0/swoole_postgresql.cc:18:
In file included from ./php_swoole_postgresql.h:21:
In file included from ***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_cxx.h:19:
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole_private.h:571:9: warning: 'SW_HASHTABLE_FOREACH_START2' macro redefined [-Wmacro-redefined]
#define SW_HASHTABLE_FOREACH_START2(ht, k, klen, ktype, _val) \
^
***@***.***/8.0.19/include/php/ext/swoole/ext-src/php_swoole.h:580:9: note: previous definition is here
#define SW_HASHTABLE_FOREACH_START2(ht, k, klen, ktype, _val) zend_string *_foreach_key;\
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
5 warnings and 20 errors generated.
make: *** [swoole_postgresql.lo] Error 1
—
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATZUY6GDGPRTPAIWZMH7T3VOBERBANCNFSM5UCBJ3WQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
[+] Building 131.2s (10/10) FINISHED in my docker. I build finished |
/bin/bash /tmp/ext-postgresql/libtool --mode=compile g++ -I. -I/tmp/ext-postgresql -I/tmp/ext-postgresql/include -I/tmp/ext-postgresql/main -I/tmp/ext-postgresql -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/ext-postgresql -I/tmp/ext-postgresql/include -I/usr/include/php/20210902/ext/swoole -I/usr/include/php/20210902/ext/swoole/include -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -I/usr/include/postgresql -DENABLE_PHP_SWOOLE_POSTGRESQL -DZEND_COMPILE_DL_EXT=1 -c /tmp/ext-postgresql/swoole_postgresql.cc -o swoole_postgresql.lo -MMD -MF swoole_postgresql.dep -MT swoole_postgresql.lo
libtool: compile: g++ -I. -I/tmp/ext-postgresql -I/tmp/ext-postgresql/include -I/tmp/ext-postgresql/main -I/tmp/ext-postgresql -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/ext-postgresql -I/tmp/ext-postgresql/include -I/usr/include/php/20210902/ext/swoole -I/usr/include/php/20210902/ext/swoole/include -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -I/usr/include/postgresql -DENABLE_PHP_SWOOLE_POSTGRESQL -DZEND_COMPILE_DL_EXT=1 -c /tmp/ext-postgresql/swoole_postgresql.cc -MMD -MF swoole_postgresql.dep -MT swoole_postgresql.lo -fPIC -DPIC -o .libs/swoole_postgresql.o
/tmp/ext-postgresql/swoole_postgresql.cc:282:55: error: macro "SW_INIT_CLASS_ENTRY" passed 5 arguments, but takes just 4
282 | swoole_postgresql_coro_methods);
| ^
In file included from /usr/include/php/20210902/ext/swoole/ext-src/php_swoole_cxx.h:19,
from /tmp/ext-postgresql/php_swoole_postgresql.h:21,
from /tmp/ext-postgresql/swoole_postgresql.cc:18:
/usr/include/php/20210902/ext/swoole/ext-src/php_swoole_private.h:504: note: macro "SW_INIT_CLASS_ENTRY" defined here
504 | #define SW_INIT_CLASS_ENTRY(module, namespace_name, short_name, methods)
|
/tmp/ext-postgresql/swoole_postgresql.cc: In function ‘void swoole_postgresql_init(int)’:
/tmp/ext-postgresql/swoole_postgresql.cc:278:5: error: ‘SW_INIT_CLASS_ENTRY’ was not declared in this scope
278 | SW_INIT_CLASS_ENTRY(swoole_postgresql_coro,
| ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:205: swoole_postgresql.lo] Ошибка 1
The text was updated successfully, but these errors were encountered: