php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62091 compile error with php 5.4.3
Submitted: 2012-05-21 12:19 UTC Modified: 2017-10-24 05:09 UTC
Votes:8
Avg. Score:4.1 ± 1.4
Reproduced:6 of 7 (85.7%)
Same Version:0 (0.0%)
Same OS:6 (100.0%)
From: HMWiesinger at gmx dot at Assigned:
Status: Suspended Package: memtrack (PECL)
PHP Version: 5.4.3 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: HMWiesinger at gmx dot at
New email:
PHP Version: OS:

 

 [2012-05-21 12:19 UTC] HMWiesinger at gmx dot at
Description:
------------
I'm trying to compile memtrack against php 5.4.3 and get this error:

 cc -I. -I/usr/src/sbo_tmp/memtrack-0.2.1 -DPHP_ATOM_INC -
I/usr/src/sbo_tmp/memtrack-0.2.1/include -I/usr/src/sbo_tmp/memtrack-0.2.1/main 
-I/usr/src/sbo_tmp/memtrack-0.2.1 -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 -O2 -fPIC -c 
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c  -fPIC -DPIC -o .libs/memtrack.o
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c: In function ‘mt_get_function_name’:
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:75:14: warning: assignment discards 
‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:77:3: warning: passing argument 1 of 
‘get_active_class_name’ from incompatible pointer type [enabled by default]
In file included from /usr/include/php/Zend/zend_API.h:30:0,
                 from /usr/include/php/main/php.h:38,
                 from /usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:25:
/usr/include/php/Zend/zend_execute.h:380:22: note: expected ‘const char **’ but 
argument is of type ‘char **’
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:77:14: warning: assignment discards 
‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:82:18: warning: assignment discards 
‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:84:18: warning: assignment discards 
‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:88:10: warning: assignment discards 
‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:90:10: warning: assignment discards 
‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:112:63: error: ‘znode_op’ has no 
member named ‘op_type’
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:113:12: error: ‘znode_op’ has no 
member named ‘u’
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c: In function ‘memtrack_execute’:
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:341:21: warning: initialization 
discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c: In function 
‘memtrack_execute_internal’:
/usr/src/sbo_tmp/memtrack-0.2.1/memtrack.c:383:21: warning: initialization 
discards ‘const’ qualifier from pointer target type [enabled by default]
make: *** [memtrack.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-21 12:57 UTC] tony2001@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: tony2001
 [2017-10-24 05:09 UTC] kalle@php.net
-Status: Assigned +Status: Suspended -Assigned To: tony2001 +Assigned To:
 [2017-10-24 05:09 UTC] kalle@php.net
I'm gonna suspend this report as the memtrack extension have not been active for over 6 years, any new maintainer can re-open this report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC