php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57448 problems with compilation
Submitted: 2006-12-20 10:12 UTC Modified: 2006-12-22 09:12 UTC
From: domas at alioreklama dot lt Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 4.4.4 OS: linux (slamd64)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: domas at alioreklama dot lt
New email:
PHP Version: OS:

 

 [2006-12-20 10:12 UTC] domas at alioreklama dot lt
Description:
------------
I have system with linux 64 bit( distribution slamd64 v10.2) 
and Apache/2.2.3 + PHP 4.4.4 + APC 3.0.10 
Than I try to compile APC 3.0.12p2  

tested on slamd 10.1, 10.2 (apache 2.2.3 + php 4.4.4)
tested APC versions 3.0.10, 3.0.11 - OK
       APC versions 3.0.12p1, 3.0.12p2 - this error 
       APC version 3.0.12 got this:
/usr/src/APC-3.0.12/apc_compile.c: In function `my_prepare_op_array_for_execution':
/usr/src/APC-3.0.12/apc_compile.c:1904: error: union has no member named `jmp_addr'






Reproduce code:
---------------
configure options: 
export CPPFLAGS="-I/usr/local/httpd/include  -DAPC_PHP4_STAT"
/usr/local/bin/phpize
./configure  --enable-apc-mmap  --with-php-config=/usr/local/bin/php-config   --with-apxs=/usr/local/apache/bin/apxs


Expected result:
----------------
gcc -I. -I/usr/src/apassl2/APC-3.0.12p2 -DPHP_ATOM_INC -I/usr/src/apassl2/APC-3.0.12p2/include -I/usr/src/apassl2/APC-3.0.12p2/main -I/usr/src/apassl2/APC-3.0.12p2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/httpd/include -DAPC_PHP4_STAT -DHAVE_CONFIG_H -g -O2 -c /usr/src/apassl2/APC-3.0.12p2/apc_main.c  -fPIC -DPIC -o apc_main.lo

/usr/src/apassl2/APC-3.0.12p2/apc_main.c: In function `install_class':
/usr/src/apassl2/APC-3.0.12p2/apc_main.c:167: error: too many arguments to function `zend_do_inheritance'
make: *** [apc_main.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-22 09:12 UTC] gopalv82 at yahoo dot com
Should fix that error.

http://news.php.net/php.pecl.cvs/6808

Thank bjori :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 14:01:30 2024 UTC