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: 2018-06-24 04:25 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dnyomo at briteskies dot com Assigned: cmb (profile)
Status: No Feedback Package: mqseries (PECL)
PHP Version: 7.0.20 OS: unbutu 14.1
Private report: No CVE-ID: None
 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-05-05 17:20 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-05-05 17:20 UTC] cmb@php.net
mqseries 0.15.0 claims compatibility with PHP 7[1]; please try
this version.

[1] <https://pecl.php.net/package-changelog.php?package=mqseries&release=0.15.0>
 [2018-06-24 04:25 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 08 05:01:28 2024 UTC