Open cidious opened 8 years ago
+1
# php -v|head -1
PHP 7.0.6 (cli) (built: May 4 2016 04:48:45) ( NTS )
#uname -a
Linux 2602b8bd7da3 3.11.0-20-generic #35~precise1-Ubuntu SMP Fri May 2 21:32:55 UTC 2014 x86_64 GNU/Linux
# make
/bin/sh /usr/src/php-ext-handlersocketi/libtool --mode=compile cc -I. -I/usr/src/php-ext-handlersocketi -DPHP_ATOM_INC -I/usr/src/php-ext-handlersocketi/include -I/usr/src/php-ext-handlersocketi/main -I/usr/src/php-ext-handlersocketi -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/src/php-ext-handlersocketi/handlersocketi_exception.c -o handlersocketi_exception.lo
libtool: compile: cc -I. -I/usr/src/php-ext-handlersocketi -DPHP_ATOM_INC -I/usr/src/php-ext-handlersocketi/include -I/usr/src/php-ext-handlersocketi/main -I/usr/src/php-ext-handlersocketi -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/src/php-ext-handlersocketi/handlersocketi_exception.c -fPIC -DPIC -o .libs/handlersocketi_exception.o
/usr/src/php-ext-handlersocketi/handlersocketi_exception.c: In function 'handlersocketi_register_exception':
/usr/src/php-ext-handlersocketi/handlersocketi_exception.c:21:9: error: too many arguments to function 'zend_register_internal_class_ex'
&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC);
^
In file included from /usr/include/php/main/php.h:39:0,
from /usr/src/php-ext-handlersocketi/handlersocketi_exception.c:2:
/usr/include/php/Zend/zend_API.h:290:28: note: declared here
ZEND_API zend_class_entry zend_register_internal_class_ex(zend_class_entry class_entry, zend_class_entry *parent_ce);
^
make: *** [handlersocketi_exception.lo] Ошибка 1
Hello, Compile error on fresh Ubuntu 16.04