|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-11 06:48 UTC] kalle@php.net
-Status: Open
+Status: Wont fix
[2015-05-11 06:48 UTC] kalle@php.net
[2015-05-11 07:22 UTC] rosenberger at taoweb dot at
[2015-05-11 08:13 UTC] pajoye@php.net
[2015-05-11 16:59 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 04:00:01 2025 UTC |
Description: ------------ Hello not able to compile APC. 3.1.13 on PHP 5.6.1 make /bin/sh /home/torsten/APC-3.1.13/libtool --mode=compile cc -I. -I/home/torsten/APC-3.1.13 -DPHP_ATOM_INC -I/home/torsten/APC-3.1.13/include -I/home/torsten/APC-3.1.13/main -I/home/torsten/APC-3.1.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/torsten/APC-3.1.13/apc.c -o apc.lo libtool: compile: cc -I. -I/home/torsten/APC-3.1.13 -DPHP_ATOM_INC -I/home/torsten/APC-3.1.13/include -I/home/torsten/APC-3.1.13/main -I/home/torsten/APC-3.1.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/torsten/APC-3.1.13/apc.c -fPIC -DPIC -o .libs/apc.o /home/torsten/APC-3.1.13/apc.c: In function 'apc_search_paths': /home/torsten/APC-3.1.13/apc.c:352:5: warning: passing argument 2 of 'php_stream_locate_url_wrapper' from incompatible pointer type [enabled by default] wrapper = php_stream_locate_url_wrapper(filename, &path_for_open, 0 TSRMLS_CC); ^ In file included from /usr/include/php5/main/php.h:398:0, from /home/torsten/APC-3.1.13/apc.h:61, from /home/torsten/APC-3.1.13/apc.c:34: /usr/include/php5/main/php_streams.h:549:28: note: expected 'const char **' but argument is of type 'char **' PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const char **path_for_open, int options TSRMLS_DC); ^ /home/torsten/APC-3.1.13/apc.c:416:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] exec_fname = zend_get_executed_filename(TSRMLS_C); ^ /bin/sh /home/torsten/APC-3.1.13/libtool --mode=compile cc -I. -I/home/torsten/APC-3.1.13 -DPHP_ATOM_INC -I/home/torsten/APC-3.1.13/include -I/home/torsten/APC-3.1.13/main -I/home/torsten/APC-3.1.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/torsten/APC-3.1.13/php_apc.c -o php_apc.lo libtool: compile: cc -I. -I/home/torsten/APC-3.1.13 -DPHP_ATOM_INC -I/home/torsten/APC-3.1.13/include -I/home/torsten/APC-3.1.13/main -I/home/torsten/APC-3.1.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/torsten/APC-3.1.13/php_apc.c -fPIC -DPIC -o .libs/php_apc.o /bin/sh /home/torsten/APC-3.1.13/libtool --mode=compile cc -I. -I/home/torsten/APC-3.1.13 -DPHP_ATOM_INC -I/home/torsten/APC-3.1.13/include -I/home/torsten/APC-3.1.13/main -I/home/torsten/APC-3.1.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/torsten/APC-3.1.13/apc_cache.c -o apc_cache.lo libtool: compile: cc -I. -I/home/torsten/APC-3.1.13 -DPHP_ATOM_INC -I/home/torsten/APC-3.1.13/include -I/home/torsten/APC-3.1.13/main -I/home/torsten/APC-3.1.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/torsten/APC-3.1.13/apc_cache.c -fPIC -DPIC -o .libs/apc_cache.o /home/torsten/APC-3.1.13/apc_cache.c: In function '_apc_cache_user_update': /home/torsten/APC-3.1.13/apc_cache.c:818:63: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function) switch(Z_TYPE_P((*slot)->value->data.user.val) & ~IS_CONSTANT_INDEX) { ^ /home/torsten/APC-3.1.13/apc_cache.c:818:63: note: each undeclared identifier is reported only once for each function it appears in /home/torsten/APC-3.1.13/apc_cache.c:820:22: error: 'IS_CONSTANT_ARRAY' undeclared (first use in this function) case IS_CONSTANT_ARRAY: ^ Makefile:186: recipe for target 'apc_cache.lo' failed make: *** [apc_cache.lo] Error 1 BR/Torsten Expected result: ---------------- should run aon PHP 5.6 Actual result: -------------- not able to build APC