|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-09 20:54 UTC] wcgallego at gmail dot com
[2015-12-12 08:48 UTC] vito@php.net
[2015-12-20 14:14 UTC] danack@php.net
[2015-12-20 14:59 UTC] vito@php.net
-Assigned To:
+Assigned To: vito
[2015-12-20 14:59 UTC] vito@php.net
[2015-12-30 15:22 UTC] vito@php.net
-Status: Assigned
+Status: Closed
[2015-12-30 15:22 UTC] vito@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 06:00:01 2025 UTC |
Description: ------------ compiling php7 with gmagick results in the following error: Test script: --------------- on a fresh clone of php master: # download gmagick: cd ext pecl download gmagick-1.1.7RC3 tar xzvf gmagick-1.1.7RC3.tgz mv gmagick-* gmagick cd .. ./buildconf --force ./configure --prefix=/opt/php/php-dist/gmagick-bug --with-gmagick make Actual result: -------------- /bin/bash /opt/php/php-src/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/gmagick/ -I/opt/php/php-src/ext/gmagick/ -DPHP_ATOM_INC -I/opt/php/php-src/include -I/opt/php/php-src/main -I/opt/php/php-src -I/opt/php/php-src/ext/date/lib -I/usr/include/libxml2 -I/usr/include/GraphicsMagick -I/opt/php/php-src/ext/sqlite3/libsqlite -I/opt/php/php-src/TSRM -I/opt/php/php-src/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /opt/php/php-src/ext/gmagick/gmagick_helpers.c -o ext/gmagick/gmagick_helpers.lo /opt/php/php-src/ext/gmagick/gmagick_helpers.c: In function 'get_pointinfo_array': /opt/php/php-src/ext/gmagick/gmagick_helpers.c:339:57: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 /opt/php/php-src/ext/gmagick/gmagick_helpers.c:339:7: error: 'zend_hash_get_current_data' undeclared (first use in this function) /opt/php/php-src/ext/gmagick/gmagick_helpers.c:339:7: note: each undeclared identifier is reported only once for each function it appears in /opt/php/php-src/ext/gmagick/gmagick_helpers.c:355:18: error: invalid type argument of '->' (have 'int') /opt/php/php-src/ext/gmagick/gmagick_helpers.c:366:13: warning: assignment makes pointer from integer without a cast [enabled by default] /opt/php/php-src/ext/gmagick/gmagick_helpers.c:369:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] In file included from /opt/php/php-src/Zend/zend.h:36:0, from /opt/php/php-src/main/php.h:35, from /opt/php/php-src/ext/gmagick/php_gmagick.h:52, from /opt/php/php-src/ext/gmagick/gmagick_helpers.c:20: /opt/php/php-src/Zend/zend_hash.h:152:30: note: expected 'struct zend_string *' but argument is of type 'char *' /opt/php/php-src/ext/gmagick/gmagick_helpers.c:369:3: error: too many arguments to function 'zend_hash_find' In file included from /opt/php/php-src/Zend/zend.h:36:0, from /opt/php/php-src/main/php.h:35, from /opt/php/php-src/ext/gmagick/php_gmagick.h:52, from /opt/php/php-src/ext/gmagick/gmagick_helpers.c:20: /opt/php/php-src/Zend/zend_hash.h:152:30: note: declared here /opt/php/php-src/ext/gmagick/gmagick_helpers.c:369:67: warning: comparison between pointer and integer [enabled by default] /opt/php/php-src/ext/gmagick/gmagick_helpers.c:384:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] In file included from /opt/php/php-src/Zend/zend.h:36:0, from /opt/php/php-src/main/php.h:35, from /opt/php/php-src/ext/gmagick/php_gmagick.h:52, from /opt/php/php-src/ext/gmagick/gmagick_helpers.c:20: /opt/php/php-src/Zend/zend_hash.h:152:30: note: expected 'struct zend_string *' but argument is of type 'char *' /opt/php/php-src/ext/gmagick/gmagick_helpers.c:384:3: error: too many arguments to function 'zend_hash_find' In file included from /opt/php/php-src/Zend/zend.h:36:0, from /opt/php/php-src/main/php.h:35, from /opt/php/php-src/ext/gmagick/php_gmagick.h:52, from /opt/php/php-src/ext/gmagick/gmagick_helpers.c:20: /opt/php/php-src/Zend/zend_hash.h:152:30: note: declared here /opt/php/php-src/ext/gmagick/gmagick_helpers.c:384:67: warning: comparison between pointer and integer [enabled by default] /opt/php/php-src/ext/gmagick/gmagick_helpers.c: In function 'get_double_array_from_zval': /opt/php/php-src/ext/gmagick/gmagick_helpers.c:466:53: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 /opt/php/php-src/ext/gmagick/gmagick_helpers.c:466:7: error: 'zend_hash_get_current_data' undeclared (first use in this function) /opt/php/php-src/ext/gmagick/gmagick_helpers.c: In function 'php_gmagick_zval_to_double_array': /opt/php/php-src/ext/gmagick/gmagick_helpers.c:645:94: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 /opt/php/php-src/ext/gmagick/gmagick_helpers.c:645:25: error: 'zend_hash_get_current_data' undeclared (first use in this function) make: *** [ext/gmagick/gmagick_helpers.lo] Error 1