Author: Flözen
Email: 
Message:
Hi,

installier the PHP module for PHP 7.0.1 fails.

When I run "make" I get following errors:

/bin/sh /home/floezen/mnogosearch/mnogosearch-3.4.1/php/libtool --mode=compile 
cc  -I. -
I/home/floezen/mnogosearch/mnogosearch-3.4.1/php -DPHP_ATOM_INC -
I/home/floezen/mnogosearch/mnogosearch-3.4.1/php/include -
I/home/floezen/mnogosearch/mnogosearch-3.4.1/php/main -
I/home/floezen/mnogosearch/mnogosearch-3.4.1/php 
-I/opt/plesk/php/7.0/include/php -
I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -
I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -
I/opt/plesk/php/7.0/include/php/ext/date/lib -I/usr/local/mnogosearch/include  -
DHAVE_CONFIG_H  -g -O2   -c /home/floezen/mnogosearch/mnogosearch-
3.4.1/php/php_mnogo.c -o php_mnogo.lo 
libtool: compile:  cc -I. -I/home/floezen/mnogosearch/mnogosearch-3.4.1/php -
DPHP_ATOM_INC -I/home/floezen/mnogosearch/mnogosearch-3.4.1/php/include -
I/home/floezen/mnogosearch/mnogosearch-3.4.1/php/main -
I/home/floezen/mnogosearch/mnogosearch-3.4.1/php 
-I/opt/plesk/php/7.0/include/php -
I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -
I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -
I/opt/plesk/php/7.0/include/php/ext/date/lib -I/usr/local/mnogosearch/include -
DHAVE_CONFIG_H -g -O2 -c /home/floezen/mnogosearch/mnogosearch-
3.4.1/php/php_mnogo.c  -fPIC -DPIC -o .libs/php_mnogo.o
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:197:29: error: 
unknown type 
name 'zend_rsrc_list_entry'
 static void _free_udm_agent(zend_rsrc_list_entry *rsrc TSRMLS_DC)
                             ^
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:204:27: error: 
unknown type 
name 'zend_rsrc_list_entry'
 static void _free_udm_res(zend_rsrc_list_entry *rsrc TSRMLS_DC)
                           ^
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c: In function 
'zm_startup_mnogosearch':
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:215:46: error: 
'_free_udm_agent' undeclared (first use in this function)
   le_link= zend_register_list_destructors_ex(_free_udm_agent,NULL,"mnogosearch 
agent",module_number);
                                              ^
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:215:46: note: each 
undeclared identifier is reported only once for each function it appears in
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:216:45: error: 
'_free_udm_res' undeclared (first use in this function)
   le_res= zend_register_list_destructors_ex(_free_udm_res,NULL,"mnogosearch 
result",module_number);
                                             ^
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c: In function 
'zif_udm_alloc_agent':
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:433:9: warning: 
'zend_get_parameters_ex' is deprecated (declared at 
/opt/plesk/php/7.0/include/php/Zend/zend_API.h:249) [-Wdeprecated-declarations]
         if(zend_get_parameters_ex(1,&yydbaddr) == FAILURE)
         ^
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:436:9: warning: 
passing 
argument 1 of 'zval_get_type' from incompatible pointer type [enabled by 
default]
         convert_to_string_ex(yydbaddr);
         ^
In file included from /opt/plesk/php/7.0/include/php/Zend/zend.h:31:0,
                 from /opt/plesk/php/7.0/include/php/main/php.h:35,
                 from 
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:29:
/opt/plesk/php/7.0/include/php/Zend/zend_types.h:326:38: note: expected 'const 
struct zval *' 
but argument is of type 'struct zval **'
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:436:9: warning: 
passing 
argument 1 of 'zval_get_type' from incompatible pointer type [enabled by 
default]
         convert_to_string_ex(yydbaddr);
         ^
In file included from /opt/plesk/php/7.0/include/php/Zend/zend.h:31:0,
                 from /opt/plesk/php/7.0/include/php/main/php.h:35,
                 from 
/home/floezen/mnogosearch/mnogosearch-3.4.1/php/php_mnogo.c:29:
/opt/plesk/php/7.0/include/php/Zend/zend_types.h:326:38: note: expected 'const 
struct zval *' 
but argument is of type 'struct zval **'
 static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                               

... and so on.

What do I need to do to fix this?

Thanx
Flözen

Reply: <http://www.mnogosearch.org/board/message.php?id=21737>

_______________________________________________
General mailing list
General@mnogosearch.org
http://lists.mnogosearch.org/listinfo/general

Reply via email to