Edit report at https://bugs.php.net/bug.php?id=63686&edit=1

 ID:                 63686
 Updated by:         d...@php.net
 Reported by:        d...@php.net
 Summary:            Build with --enable-dtrace fails
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            *General Issues
 Operating System:   Solaris
 PHP Version:        5.5Git-2012-12-04 (Git)
 Assigned To:        dmitry
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-12-04 14:34:28] d...@php.net

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 this bug report at https://bugs.php.net/bug.php?id=63686&edit=1

Reply via email to