From:             d...@php.net
Operating system: Solaris
PHP version:      5.5Git-2012-12-04 (Git)
Package:          *General Issues
Bug Type:         Bug
Bug description:Build with --enable-dtrace fails

Description:
------------
building with --enable-dtrace results in 

Zend/zend.c:686:20: error: ‘dtrace_execute_ex’ undeclared (first use in
this 
function)

which was introduced in

commit 70f83f35d089d0cafae12ae231a38541f5c8e41c
Author: Dmitry Stogov <dmi...@zend.com>
Date:   Fri Nov 30 13:39:23 2012 +0400


Test script:
---------------
./buildconf
./configure --enable-dtrace
make

Expected result:
----------------
build complete

Actual result:
--------------
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c: In function 
‘dtrace_get_executed_filename’:
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c:30:3: warning: return discards

‘const’ qualifier from pointer target type [enabled by default]
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c:32:3: warning: return discards

‘const’ qualifier from pointer target type [enabled by default]
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c: In function
‘dtrace_execute’:
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c:62:3: warning: passing
argument 1 
of ‘get_active_class_name’ from incompatible pointer type [enabled by
default]
In file included from /home/dsp/dev/php/src/5.5/Zend/zend_API.h:30:0,
                 from /home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c:22:
/home/dsp/dev/php/src/5.5/Zend/zend_execute.h:348:53: note: expected
‘const char 
**’ but argument is of type ‘char **’
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c:62:13: warning: assignment
discards 
‘const’ qualifier from pointer target type [enabled by default]
/home/dsp/dev/php/src/5.5/Zend/zend_dtrace.c:63:12: warning: assignment
discards 
‘const’ qualifier from pointer target type [enabled by default]
/home/dsp/dev/php/src/5.5/Zend/zend.c: In function ‘zend_startup’:
/home/dsp/dev/php/src/5.5/Zend/zend.c:686:20: error:
‘dtrace_execute_ex’ 
undeclared (first use in this function)
/home/dsp/dev/php/src/5.5/Zend/zend.c:686:20: note: each undeclared
identifier 
is reported only once for each function it appears in
make: *** [Zend/zend.lo] Error 1
make: *** Waiting for unfinished jobs....


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63686&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63686&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63686&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63686&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63686&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63686&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63686&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63686&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63686&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63686&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63686&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63686&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63686&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63686&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63686&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63686&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63686&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63686&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63686&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63686&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63686&r=mysqlcfg

Reply via email to