php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74786 Installing using PHP 7.0.20
Submitted: 2017-06-20 14:46 UTC Modified: -
From: dnyomo at briteskies dot com Assigned:
Status: Open Package: mqseries (PECL)
PHP Version: 7.0.20 OS: unbutu 14.1
Private report: No CVE-ID:
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dnyomo at briteskies dot com
New email:
PHP Version: OS:

 

 [2017-06-20 14:46 UTC] dnyomo at briteskies dot com
Description:
------------
Installing the extension with PHP 7.0.20 installed.

Test script:
---------------
run the make command

Expected result:
----------------
Compile the extension

Actual result:
--------------
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:43:
/usr/include/php/20151012/Zend/zend_hash.h:171:30: note: expected 'HashPosition *' but argument is of type 'void **'
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1258:3: error: too many arguments to function 'zend_hash_get_current_data_ex'
   while (zend_hash_get_current_data_ex(Z_ARRVAL_P(z_charAttrs), (void **)&option_val, &pos) == SUCCESS) {
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:43:
/usr/include/php/20151012/Zend/zend_hash.h:171:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c: In function 'zif_mqseries_bytes_val':
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1299:29: error: expected expression before 'mqseries_bytes'
  ZEND_FETCH_RESOURCE(bytes, mqseries_bytes *, &z_bytes, -1, PHP_MQSERIES_BYTES_RES_NAME, le_mqseries_bytes);
                             ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1302:41: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
   RETVAL_STRING((char *) bytes->bytes, 1);
                                         ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1302:3: error: 'RETVAL_STRING' undeclared (first use in this function)
   RETVAL_STRING((char *) bytes->bytes, 1);
   ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c: In function 'zif_mqseries_sub':
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1353:30: error: expected expression before 'mqseries_obj'
   ZEND_FETCH_RESOURCE(mqobj, mqseries_obj *, &z_obj, -1, PHP_MQSERIES_OBJ_RES_NAME, le_mqseries_obj);
                              ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1362:30: error: expected expression before 'mqseries_descriptor'
  ZEND_FETCH_RESOURCE(mqdesc, mqseries_descriptor *, &z_mqdesc, -1, PHP_MQSERIES_DESCRIPTOR_RES_NAME, le_mqseries_conn);
                              ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c: In function 'zif_mqseries_stat':
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1437:30: error: expected expression before 'mqseries_descriptor'
  ZEND_FETCH_RESOURCE(mqdesc, mqseries_descriptor *, &z_mqdesc, -1, PHP_MQSERIES_DESCRIPTOR_RES_NAME, le_mqseries_conn);
                              ^
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c: At top level:
/home/vagrant/mqphp/mqseries-0.14.2/mqseries.c:1458:22: error: unknown type name 'zend_rsrc_list_entry'
 void _mqseries_bytes(zend_rsrc_list_entry *rsrc TSRMLS_DC)
                      ^
make: *** [mqseries.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC