php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72270 Unable to compile dio using current PHP7-builds
Submitted: 2016-05-26 19:45 UTC Modified: 2016-12-13 07:03 UTC
Votes:8
Avg. Score:4.5 ± 0.5
Reproduced:8 of 8 (100.0%)
Same Version:4 (50.0%)
Same OS:2 (25.0%)
From: aur at adlerweb dot info Assigned: remi (profile)
Status: Closed Package: dio (PECL)
PHP Version: 7.0.7 OS: Arch x86_64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aur at adlerweb dot info
New email:
PHP Version: OS:

 

 [2016-05-26 19:45 UTC] aur at adlerweb dot info
Description:
------------
Using PHP 7.0.6 and 7.0.7 php_dio will not compile. As far as I can tell the Zend-API has changed and corresponding calls would need to be updated.

Expected result:
----------------
Working DIO on PHP7 as documented (for example http://php.net/manual/en/function.dio-open.php)

Actual result:
--------------
Trace for 7.0.7:

PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012

cc -I. -I/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7 -DPHP_ATOM_INC -I/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/include -I/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/main -I/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -c /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c -fPIC -DPIC -o .libs/dio.o
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:75:27: error: unknown type name 'zend_rsrc_list_entry'
static void _dio_close_fd(zend_rsrc_list_entry *rsrc TSRMLS_DC)
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_open':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:118:2: warning: implicit declaration of function 'ZEND_REGISTER_RESOURCE' [-Wimplicit-function-declaration]
ZEND_REGISTER_RESOURCE(return_value, f, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_dup':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:164:2: warning: implicit declaration of function 'ZEND_FETCH_RESOURCE' [-Wimplicit-function-declaration]
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:164:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_read':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:195:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:212:29: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
RETURN_STRINGL(data, res, 0);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:212:2: error: 'RETURN_STRINGL' undeclared (first use in this function)
RETURN_STRINGL(data, res, 0);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:212:2: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_write':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:236:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_truncate':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:261:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_stat':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:287:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_seek':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:326:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_fcntl':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:347:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:362:28: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "start", sizeof("start"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:362:9: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "start", sizeof("start"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:362:74: warning: comparison between pointer and integer
if (zend_hash_find(fh, "start", sizeof("start"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:365:19: warning: implicit declaration of function 'Z_LVAL_PP' [-Wimplicit-function-declaration]
lk.l_start = Z_LVAL_PP(element);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:368:28: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "length", sizeof("length"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:368:9: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "length", sizeof("length"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:368:76: warning: comparison between pointer and integer
if (zend_hash_find(fh, "length", sizeof("length"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:374:28: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "whence", sizeof("whence"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:374:9: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "whence", sizeof("whence"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:374:76: warning: comparison between pointer and integer
if (zend_hash_find(fh, "whence", sizeof("whence"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:380:28: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "type", sizeof("type"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:380:9: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "type", sizeof("type"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:380:72: warning: comparison between pointer and integer
if (zend_hash_find(fh, "type", sizeof("type"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_tcsetattr':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:457:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:466:25: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "baud", sizeof("baud"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:466:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "baud", sizeof("baud"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:466:69: warning: comparison between pointer and integer
if (zend_hash_find(fh, "baud", sizeof("baud"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:472:25: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "bits", sizeof("bits"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:472:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "bits", sizeof("bits"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:472:69: warning: comparison between pointer and integer
if (zend_hash_find(fh, "bits", sizeof("bits"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:478:25: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "stop", sizeof("stop"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:478:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "stop", sizeof("stop"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:478:69: warning: comparison between pointer and integer
if (zend_hash_find(fh, "stop", sizeof("stop"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:484:25: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "parity", sizeof("parity"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:484:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "parity", sizeof("parity"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:484:73: warning: comparison between pointer and integer
if (zend_hash_find(fh, "parity", sizeof("parity"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:490:25: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "flow_control", sizeof("flow_control"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:490:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "flow_control", sizeof("flow_control"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:490:85: warning: comparison between pointer and integer
if (zend_hash_find(fh, "flow_control", sizeof("flow_control"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:496:25: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(fh, "is_canonical", sizeof("is_canonical"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:496:6: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(fh, "is_canonical", sizeof("is_canonical"), (void **) &element) == FAILURE) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:496:85: warning: comparison between pointer and integer
if (zend_hash_find(fh, "is_canonical", sizeof("is_canonical"), (void **) &element) == FAILURE) {
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zif_dio_close':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:642:25: error: expected expression before 'php_fd_t'
ZEND_FETCH_RESOURCE(f, php_fd_t *, &r_fd, -1, le_fd_name, le_fd);
^
In file included from /usr/include/php/Zend/zend.h:31:0,
from /usr/include/php/main/php.h:35,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_types.h:506:25: warning: passing argument 1 of 'zend_list_delete' makes pointer from integer without a cast [-Wint-conversion]
#define Z_LVAL(zval) (zval).value.lval
^
/usr/include/php/Zend/zend_types.h:507:28: note: in expansion of macro 'Z_LVAL'
#define Z_LVAL_P(zval_p) Z_LVAL(*(zval_p))
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:644:19: note: in expansion of macro 'Z_LVAL_P'
zend_list_delete(Z_LVAL_P(r_fd));
^
In file included from /usr/include/php/Zend/zend_API.h:28:0,
from /usr/include/php/main/php.h:39,
from /tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:24:
/usr/include/php/Zend/zend_list.h:59:14: note: expected 'zend_resource * {aka struct _zend_resource *}' but argument is of type 'zend_long {aka long int}'
ZEND_API int zend_list_delete(zend_resource *res);
^
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c: In function 'zm_startup_dio':
/tmp/pacaurtmp-i336/php-dio/src/dio-0.0.7/dio.c:834:44: error: '_dio_close_fd' undeclared (first use in this function)
le_fd = zend_register_list_destructors_ex(_dio_close_fd, NULL, le_fd_name, module_number);
^
Makefile:193: recipe for target 'dio.lo' failed
make: *** [dio.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-10 19:24 UTC] mhei at heimpold dot de
I just wanted to let you know, that I have ported this dio pecl extension to php7 and I've put my work into a Github project:
https://github.com/mhei/pecl_dio/tree/php7

I tried to contact the maintainer and send my patches to pecl-dev mailinglist. However, no response - for a quite long time. I guess it's dead...

Would be fine, if you could give my series a test.
Regards, mhei
 [2016-12-13 07:03 UTC] remi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: remi
 [2016-12-13 07:03 UTC] remi@php.net
Fixed in 0.0.8
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC