php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58760 fatal compilation duplicate static
Submitted: 2009-07-12 04:47 UTC Modified: 2009-08-16 03:55 UTC
From: contact at sopheos dot com Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.3.0RC4 OS: debian Etch
Private report: No CVE-ID: None
 [2009-07-12 04:47 UTC] contact at sopheos dot com
Description:
------------
phpize

./configure ....

fatal compilation error : 
/tmp/pear/temp/APC/php_apc.c:959: error: duplicate 'static'



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-18 19:40 UTC] krozinov at gmail dot com
I can confirm the same behavior on:

Ubuntu 7.10
php 5.3.0

pecl install apc


 cc -I. -I/tmp/pear/temp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-3.0.19/include -I/var/tmp/pear-build-root/APC-3.0.19/main -I/tmp/pear/temp/APC -I/usr/local/stow/php-5.3.0/include/php -I/usr/local/stow/php-5.3.0/include/php/main -I/usr/local/stow/php-5.3.0/include/php/TSRM -I/usr/local/stow/php-5.3.0/include/php/Zend -I/usr/local/stow/php-5.3.0/include/php/ext -I/usr/local/stow/php-5.3.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/APC/php_apc.c  -fPIC -DPIC -o .libs/php_apc.o
/tmp/pear/temp/APC/php_apc.c:959: error: duplicate 'static'
make: *** [php_apc.lo] Error 1
ERROR: `make' failed
 [2009-08-16 03:55 UTC] kalle@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/APC

Should be fixed in APC 3.1.3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 14:01:31 2024 UTC