php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62269 complie errors in php_apd.c
Submitted: 2012-06-08 22:45 UTC Modified: 2015-02-26 07:39 UTC
Votes:4
Avg. Score:3.5 ± 1.1
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:0 (0.0%)
From: handyj at gmail dot com Assigned: gschlossnagle (profile)
Status: Suspended Package: apd (PECL)
PHP Version: 5.4.3 OS: Fedora 17
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: handyj at gmail dot com
New email:
PHP Version: OS:

 

 [2012-06-08 22:45 UTC] handyj at gmail dot com
Description:
------------
Fresh install of Fedora 17. groupinstall of development tools. Followed install guide at http://dev.glastopf.org/projects/php-sandbox/wiki/APD_installation. Installed php-cli and php-devel.

When compiling, errors on 3 statements.

[schielj@ltn-sec-ima-victim-01 apd]$ sudo make
[sudo] password for schielj:
/bin/sh /home/schielj/apd/libtool --mode=compile cc  -I. -I/home/schielj/apd -DPHP_ATOM_INC -I/home/schielj/apd/include -I/home/schielj/apd/main -I/home/schielj/apd -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/schielj/apd/php_apd.c -o php_apd.lo
libtool: compile:  cc -I. -I/home/schielj/apd -DPHP_ATOM_INC -I/home/schielj/apd/include -I/home/schielj/apd/main -I/home/schielj/apd -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/schielj/apd/php_apd.c  -fPIC -DPIC -o .libs/php_apd.o
/home/schielj/apd/php_apd.c: In function 'apd_get_active_function_name':
/home/schielj/apd/php_apd.c:318:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/home/schielj/apd/php_apd.c:322:15: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/home/schielj/apd/php_apd.c:329:15: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/home/schielj/apd/php_apd.c:340:30: error: 'znode_op' has no member named 'u'
/home/schielj/apd/php_apd.c: In function 'log_time':
/home/schielj/apd/php_apd.c:444:27: error: 'zend_op_array' has no member named 'start_op'
/home/schielj/apd/php_apd.c:445:34: error: 'zend_op_array' has no member named 'start_op'
/home/schielj/apd/php_apd.c: In function 'apd_pprof_header':
/home/schielj/apd/php_apd.c:724:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
make: *** [php_apd.lo] Error 1


Test script:
---------------
runs during sudo make step of url.
http://dev.glastopf.org/projects/php-sandbox/wiki/APD_installation


Expected result:
----------------
make successful.

Actual result:
--------------
shown above

Patches

php-pecl-apd-php-5.4.patch (last revision 2012-08-04 19:16 UTC by omega13a at sbcglobal dot net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-12 00:29 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: gschlossnagle
 [2012-07-12 18:13 UTC] jwelle1 at web dot de
Got the same Problem with Archlinux an php-version 5.4.4
 [2012-07-26 17:15 UTC] ewiget at rhpstudios dot com
same problem on debian squeeze with php 5.4.4 and apd from svn trunk
 [2012-07-28 19:11 UTC] glaslos at gmail dot com
Latest APD is only compatible with Zend Engine 2.3.0
With PHP 5.4.4 comes Zend Engine 2.4.0
 [2012-08-04 19:17 UTC] omega13a at yahoo dot com
I just added a patch that I just came up with that appears to work (at least for me). Hope it helps.
 [2015-02-26 07:39 UTC] krakjoe@php.net
-Status: Assigned +Status: Suspended
 [2015-02-26 07:39 UTC] krakjoe@php.net
APD hasn't had a release in 10 years, this means it's source code is way out of sync with modern PHP.

I'm going to mark this bug as suspended, the report can still be found if a maintainer for APD comes forward.

Sorry about the wait.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 05:01:23 2020 UTC