-
Notifications
You must be signed in to change notification settings - Fork 21
Installation error #76
Description
make
/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