php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66540 apc_compile.lo error 1
Submitted: 2014-01-22 08:47 UTC Modified: 2016-11-18 21:04 UTC
Votes:5
Avg. Score:4.2 ± 1.0
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:1 (20.0%)
From: ysyukr at gmail dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.5.8 OS: Ubuntu 12.04.4 LTS Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
7 + 45 = ?
Subscribe to this entry?

 
 [2014-01-22 08:47 UTC] ysyukr at gmail dot com
Description:
------------
/bin/bash /home/src/APC-3.1.13/libtool --mode=compile cc  -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/src/APC-3.1.13/apc.c -o apc.lo
mkdir .libs
 cc -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/src/APC-3.1.13/apc.c  -fPIC -DPIC -o .libs/apc.o
/home/src/APC-3.1.13/apc.c: In function ‘apc_search_paths’:
/home/src/APC-3.1.13/apc.c:416:20: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
/bin/bash /home/src/APC-3.1.13/libtool --mode=compile cc  -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/src/APC-3.1.13/php_apc.c -o php_apc.lo
 cc -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/src/APC-3.1.13/php_apc.c  -fPIC -DPIC -o .libs/php_apc.o
/bin/bash /home/src/APC-3.1.13/libtool --mode=compile cc  -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/src/APC-3.1.13/apc_cache.c -o apc_cache.lo
 cc -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/src/APC-3.1.13/apc_cache.c  -fPIC -DPIC -o .libs/apc_cache.o
/bin/bash /home/src/APC-3.1.13/libtool --mode=compile cc  -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/src/APC-3.1.13/apc_compile.c -o apc_compile.lo
 cc -I. -I/home/src/APC-3.1.13 -DPHP_ATOM_INC -I/home/src/APC-3.1.13/include -I/home/src/APC-3.1.13/main -I/home/src/APC-3.1.13 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/src/APC-3.1.13/apc_compile.c  -fPIC -DPIC -o .libs/apc_compile.o
/home/src/APC-3.1.13/apc_compile.c: In function ‘my_copy_class_entry’:
/home/src/APC-3.1.13/apc_compile.c:755:9: warning: assignment from incompatible pointer type [enabled by default]
/home/src/APC-3.1.13/apc_compile.c: In function ‘apc_copy_class_entry_for_execution’:
/home/src/APC-3.1.13/apc_compile.c:1956:9: warning: assignment from incompatible pointer type [enabled by default]
/home/src/APC-3.1.13/apc_compile.c: In function ‘apc_copy_trait_alias’:
/home/src/APC-3.1.13/apc_compile.c:2379:12: error: ‘zend_trait_alias’ has no member named ‘function’
/home/src/APC-3.1.13/apc_compile.c:2380:9: error: ‘zend_trait_alias’ has no member named ‘function’
/home/src/APC-3.1.13/apc_compile.c:2380:9: error: ‘zend_trait_alias’ has no member named ‘function’
/home/src/APC-3.1.13/apc_compile.c: In function ‘apc_copy_trait_precedence’:
/home/src/APC-3.1.13/apc_compile.c:2416:12: error: ‘zend_trait_precedence’ has no member named ‘function’
/home/src/APC-3.1.13/apc_compile.c:2417:9: error: ‘zend_trait_precedence’ has no member named ‘function’
/home/src/APC-3.1.13/apc_compile.c:2417:9: error: ‘zend_trait_precedence’ has no member named ‘function’
make: *** [apc_compile.lo] error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-04 10:26 UTC] sart dot ua at gmail dot com
АРС is not compatible with PHP 5.5
Try Zend Opcache + APCu
 [2015-02-25 07:27 UTC] swerder+php at gmail dot com
can someone change the "Dependencies" on
http://pecl.php.net/package/APC
so there is not only "PHP Version: PHP 5.1.0 or newer" but also "not working for 5.5 or newer"?
 [2016-11-18 21:04 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:04 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC